1 2 3 4 5 6 7 8 9 10
from django.conf import settings def additional_template_vars(request): """ A neat little hack to load up additional variables into templates directly into the templates """ return {"template_vars": settings.TEMPLATE_VARS}