diff options
Diffstat (limited to 'objectapp/context_processors.py')
-rw-r--r-- | objectapp/context_processors.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/objectapp/context_processors.py b/objectapp/context_processors.py new file mode 100644 index 0000000..a764c78 --- /dev/null +++ b/objectapp/context_processors.py @@ -0,0 +1,7 @@ +"""Context Processors for Objectapp""" +from objectapp import __version__ + + +def version(request): + """Adds version of Objectapp to the context""" + return {'OBJECTAPP_VERSION': __version__} |