Mercurial
Mercurial
>
hdabo
/ file revision
summary
|
shortlog
|
changelog
|
graph
|
tags
|
bookmarks
|
branches
|
files
|
changeset
| file |
latest
|
revisions
|
annotate
|
diff
|
comparison
|
raw
|
help
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
src/hdalab/context_processors.py
author
rougeronj
Wed, 10 Dec 2014 15:51:08 +0100
changeset 394
4911075b6000
permissions
-rw-r--r--
add context_processor and variable VERSION accessible from templates
import
hdalab
def
version
(
request
):
return
{
'VERSION'
:
hdalab
.
get_version
()
}