djblets.template.context¶
Utility functions for working with template contexts.
-
get_default_template_context_processors
(engine_name=u'django')[source]¶ Return all default template context processors for an engine.
Parameters: engine_name (unicode) – When run on Django 1.8 or higher, this specifies which template engine’s context processors to return. On Django 1.7 and older, this is ignored. Returns: The list of template context processors. Return type: list of callable Raises: django.core.exceptions.ImproperlyConfigured
– The specified template engine wasn’t valid on this version of Django.