settings
attribute on request
:misago.conf.dynamicsettings.DynamicSettings
manually:settings
variable:True
or None
when accessed. To obtain their "real" value you need to call the get_lazy_setting_value
method on settings object:settings.py
settings
object importable from misago.conf.settings
:misago.conf.settings
first attempts to read setting value in your site's settings.py
, and when its not defined here, uses default value defined inside Misago source code.misago.conf.settings
is fully compatible with django.conf.settings
. If your code is not accessing MISAGO_*
settings, you can use either of those approaches for accessing static configuration. misago.conf.settings
is only recommended when you are using MISAGO_*
settings in your code.