Be explicit in context processor

This commit is contained in:
Andrew Chen Wang 2020-07-23 22:47:20 -04:00 committed by GitHub
parent 88ac52bd51
commit 689e22f5b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,4 +2,5 @@ from django.conf import settings
def settings_context(_request):
return {"settings": settings}
# Be explicit
return {"DEBUG": settings.DEBUG}