9 lines
193 B
Python
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
|
|
}
|