Module Expr Str ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Str If UnaryOpNot NameLoad body ImportFrom alias ImportFrom alias For NameStore TupleLoad Str Str Str Str Str Str Str Str body Assert BoolOpAnd Call NameLoad NameLoad NameLoad NameLoad CompareNotEq Call NameLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad Call AttributeLoad Str attr NameLoad
N/A N/A Consolidates settings from defaults.py and local.py.

::
    >>> from website import settings
    >>> settings.MAIL_SERVER
    'smtp.sendgrid.net'
 defaults * N/A N/A local * N/A N/A N/A ImportError N/A error N/A N/A N/A ImportError No local.py settings file found. Did you remember to copy local-dist.py to local.py? N/A N/A DEV_MODE N/A N/A local N/A defaults N/A setting N/A WATERBUTLER_JWE_SECRET WATERBUTLER_JWE_SALT WATERBUTLER_JWT_SECRET JWT_SECRET DB_PASS DEFAULT_HMAC_SECRET POPULAR_LINKS_NODE NEW_AND_NOTEWORTHY_LINKS_NODE N/A N/A N/A N/A getattr local setting None N/A N/A getattr local setting None N/A getattr defaults setting None N/A N/A {} must be specified in local.py when DEV_MODE is False format setting