common.py
25 KB
-
Use settings context processor for templates · 054500e7
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.
Nate Hardison committed