Jump to >

djblets.siteconfig.context_processors

siteconfig(request)[source]

Provides variables for accessing site configuration data.

This will provide templates with a ‘siteconfig’ variable, representing the SiteConfiguration for the installation, and a ‘siteconfig_settings’, representing all settings on the SiteConfiguration.

siteconfig_settings is preferred over accessing siteconfig.settings, as it will properly handle returning default values.

settings_vars(request)[source]