You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just created a new Mezzanine project using the default project template and remarked that Mezzanine has a dynamic settings method to avoid common issues based on the configuration :
####################
# DYNAMIC SETTINGS #
####################
# set_dynamic_settings() will rewrite globals based on what has been
# defined so far, in order to provide some better defaults where
# applicable. We also allow this settings module to be imported
# without Mezzanine installed, as the case may be when using the
# fabfile, where setting the dynamic settings below isn't strictly
# required.
try:
from mezzanine.utils.conf import set_dynamic_settings
except ImportError:
pass
else:
set_dynamic_settings(globals())
The text was updated successfully, but these errors were encountered:
I just created a new Mezzanine project using the default project template and remarked that Mezzanine has a dynamic settings method to avoid common issues based on the configuration :
The text was updated successfully, but these errors were encountered: