Add: debug context processor
This commit is contained in:
parent
2d507792c3
commit
11cc94d59c
2 changed files with 5 additions and 0 deletions
4
archivist/apps/context_processors.py
Normal file
4
archivist/apps/context_processors.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
from django.conf import settings
|
||||
|
||||
def debug(context):
|
||||
return {'DEBUG': settings.DEBUG}
|
Loading…
Add table
Add a link
Reference in a new issue