diff --git a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/utils/context_processors.py b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/utils/context_processors.py index def96787..3c535141 100644 --- a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/utils/context_processors.py +++ b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/utils/context_processors.py @@ -2,5 +2,7 @@ from django.conf import settings def settings_context(_request): - # Be explicit + """Settings available by default to the templates context.""" + # Note: we intentionally do NOT expose the entire settings + # to prevent accidental leaking of sensitive information return {"DEBUG": settings.DEBUG}