pasteque/paste/context_processors.py

11 lines
299 B
Python
Raw Normal View History

2013-04-04 17:37:30 +00:00
from django.conf import settings
def app_details(request):
"""Passes settings details to the templates."""
return {'APP_NAME': settings.APP_NAME,
'APP_VERSION': settings.APP_VERSION,
2018-05-07 20:52:15 +00:00
'DISPLAY_NAME': settings.DISPLAY_NAME,
'PASTE': settings.PASTE,
}