Skip to content
Snippets Groups Projects
Verified Commit a8c1232f authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch 'master' into 266-replace-dev-sh-with-tox-environments

parents 7abaccf2 20bbc901
No related branches found
No related tags found
1 merge request!730Resolve "Replace dev.sh with tox environments"
Pipeline #36126 passed
......@@ -17,6 +17,8 @@ Added
Changed
~~~~~~~
* Do not log or e-mail ALLOWED_HOSTS violations
* Replace dev.sh helper script with tox environments.
Fixed
......
......@@ -781,11 +781,21 @@ BLEACH_STRIP_COMMENTS = True
LOGGING = {
"version": 1,
"disable_existing_loggers": False,
"handlers": {"console": {"class": "logging.StreamHandler", "formatter": "verbose"},},
"handlers": {
"console": {"class": "logging.StreamHandler", "formatter": "verbose"},
"null": {"class": "logging.NullHandler"},
},
"formatters": {"verbose": {"format": "%(levelname)s %(asctime)s %(module)s: %(message)s"}},
"root": {"handlers": ["console"], "level": _settings.get("logging.level", "WARNING"),},
"loggers": {},
}
if not _settings.get("logging.disallowed_host", False):
LOGGING["loggers"]["django.security.DisallowedHost"] = {
"handlers": ["null"],
"propagate": False,
}
# Rules and permissions
GUARDIAN_RAISE_403 = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment