mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-03-03 10:45:49 +03:00
Be explicit in context processor
This commit is contained in:
parent
88ac52bd51
commit
689e22f5b0
|
@ -2,4 +2,5 @@ from django.conf import settings
|
|||
|
||||
|
||||
def settings_context(_request):
|
||||
return {"settings": settings}
|
||||
# Be explicit
|
||||
return {"DEBUG": settings.DEBUG}
|
||||
|
|
Loading…
Reference in New Issue
Block a user