FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
patchwork/patchwork/context_processors.py at main · getpatchwork/patchwork · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
getpatchwork
/
patchwork
Public
Notifications
You must be signed in to change notification settings
Fork
90
Star
315
Code
Issues
97
Pull requests
22
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
patchwork
/
patchwork
/
context_processors.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (10 loc) · 334 Bytes
Breadcrumbs
patchwork
/
patchwork
/
context_processors.py
Copy path
File metadata and controls
16 lines (10 loc) · 334 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Patchwork - automated patch tracking system
# Copyright (C) 2016 Intel Corporation
#
# SPDX-License-Identifier: GPL-2.0-or-later
from
django
.
contrib
.
sites
.
models
import
Site
import
patchwork
def
site
(
request
):
return
{
'site'
:
Site
.
objects
.
get_current
()}
def
version
(
request
):
return
{
'version'
:
patchwork
.
__version__
}
Back
|
FazBrowse Home
|
New Git URL