isonzeinterndronken/dronken/context_processors.py
2017-12-19 15:48:06 +01:00

9 lines
193 B
Python

from django.conf import settings
def environment(request):
""" Template context processor to add debug variable to tempate context. """
return {
'debug': settings.DEBUG
}