cookiecutter-django/{{cookiecutter.project_slug}}/config/settings
Dani Hodovic 1dd8608142
Add django.middleware.common.BrokenLinkEmailsMiddleware
https://docs.djangoproject.com/en/2.2/howto/error-reporting/#errors

> If those conditions are met, Django will email the users listed in the
> MANAGERS setting whenever your code raises a 404 and the request has a
> referer. It doesn’t bother to email for 404s that don’t have a referer –
> those are usually just people typing in broken URLs or broken Web bots.
> It also ignores 404s when the referer is equal to the requested URL,
> since this behavior is from broken Web bots too.
2019-12-10 12:46:52 +01:00
..
__init__.py Remove Python 2.7 support per #1129 (#1130) 2017-04-21 12:31:45 -07:00
base.py Add django.middleware.common.BrokenLinkEmailsMiddleware 2019-12-10 12:46:52 +01:00
local.py Using WhiteNoise in development 2019-11-07 21:03:33 +08:00
production.py Using WhiteNoise in development 2019-11-07 21:03:33 +08:00
test.py Remove redundant DEBUG = False in test.py 2019-08-26 16:25:36 +02:00