summaryrefslogtreecommitdiff
path: root/objectapp/context_processors.py
blob: a764c781cfd72706f56e399db3eb08d6c21081e4 (plain)
1
2
3
4
5
6
7
"""Context Processors for Objectapp"""
from objectapp import __version__


def version(request):
    """Adds version of Objectapp to the context"""
    return {'OBJECTAPP_VERSION': __version__}