Use settings context processor for templates
Enable the Django settings context processor (from https://github.com/mfogel/django-settings-context-processor) and add a few `TEMPLATE_VISIBLE_SETTINGS`. This will be immediately useful for accessing the settings in Django templates, since the Mako middleware already adds settings into the templates' context by default.
Showing
Please
register
or
sign in
to comment