src/hdabo/context_processors.py
author cavaliet
Tue, 30 Sep 2014 12:31:48 +0200
changeset 344 1473ba25af1f
parent 266 825ff4d6a8ac
permissions -rw-r--r--
advanced search in all renkan lists, language update and debug
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
49
55e5f8a878ae add the version context_processor and correct css to display it correctly
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
import hdabo
55e5f8a878ae add the version context_processor and correct css to display it correctly
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
55e5f8a878ae add the version context_processor and correct css to display it correctly
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
def version(request):
55e5f8a878ae add the version context_processor and correct css to display it correctly
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
    return { 'VERSION': hdabo.get_version() }
55e5f8a878ae add the version context_processor and correct css to display it correctly
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5