src/hdabo/context_processors.py
author ymh <ymh.work@gmail.com>
Wed, 30 Jul 2014 14:57:51 +0200
changeset 306 e091c7ea3f90
parent 266 825ff4d6a8ac
permissions -rw-r--r--
readd django_wsgi and correct ref of hdalab in hdabo, again
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