Add: debug context processor

This commit is contained in:
Aroy-Art 2024-05-14 21:05:05 +02:00
parent 2d507792c3
commit 11cc94d59c
Signed by: Aroy
GPG key ID: DB9689E9391DD156
2 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1,4 @@
from django.conf import settings
def debug(context):
return {'DEBUG': settings.DEBUG}