package documentation

Settings and configuration for Django.

Read values from the module specified by the DJANGO_SETTINGS_MODULE environment variable, and then from django.conf.global_settings; see the global_settings.py for a list of all possible variables.

Package urls Undocumented
Module global​_settings Default Django settings. Override these with settings in the module pointed to by the DJANGO_SETTINGS_MODULE environment variable.
Package locale LANG_INFO is a dictionary structure to provide meta information about languages.

From __init__.py:

Constant ENVIRONMENT​_VARIABLE Undocumented
Constant USE​_DEPRECATED​_PYTZ​_DEPRECATED​_MSG Undocumented
Constant USE​_L10N​_DEPRECATED​_MSG Undocumented
Variable settings Undocumented
Class ​Lazy​Settings A lazy proxy for either global Django settings or a custom settings object. The user can manually configure settings prior to using them. Otherwise, Django uses the settings module pointed to by DJANGO_SETTINGS_MODULE.
Class ​Settings Undocumented
Class ​Settings​Reference String subclass which references a current settings value. It's treated as the value in memory but serializes to a settings.NAME attribute reference.
Class ​User​Settings​Holder Holder for user configured settings.
ENVIRONMENT_VARIABLE: str =

Undocumented

Value
'DJANGO_SETTINGS_MODULE'
USE_DEPRECATED_PYTZ_DEPRECATED_MSG: str =

Undocumented

Value
'The USE_DEPRECATED_PYTZ setting, and support for pytz timezones is deprecated i
n favor of the stdlib zoneinfo module. Please update your code to use zoneinfo a
nd remove the USE_DEPRECATED_PYTZ setting.'
USE_L10N_DEPRECATED_MSG: str =

Undocumented

Value
'The USE_L10N setting is deprecated. Starting with Django 5.0, localized formatt
ing of data will always be enabled. For example Django will display numbers and 
dates using the format of the current locale.'
settings =

Undocumented