Create a file called context_processors.py, and insert this:
from django.conf import settings as django_settings
def settings(request):
return {'settings': django_settings}
Then, in settings.py, add this:
TEMPLATE_CONTEXT_PROCESSORS += (
"myapp.context_processors.settings",
)
For the current default context processors, see https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-TEMPLATE_CONTEXT_PROCESSORS