Jump to >

djblets.siteconfig.django_settings

get_django_settings_map()[source]

Returns the settings map for all Django settings that users may need to customize.

generate_defaults(settings_map)[source]

Utility function to generate a defaults mapping.

get_locale_defaults()[source]

Returns the locale-related Django defaults that projects may want to let users customize.

get_mail_defaults()[source]

Returns the mail-related Django defaults that projects may want to let users customize.

get_site_defaults()[source]

Returns the site-related Django defaults that projects may want to let users customize.

get_cache_defaults()[source]

Returns the cache-related Django defaults that projects may want to let users customize.

get_django_defaults()[source]

Returns all Django defaults that projects may want to let users customize.

apply_django_settings(siteconfig, settings_map=None)[source]

Applies all settings from the site configuration to the Django settings object.