mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-15 17:34:52 +03:00
Remove BrokenLinkEmailsMiddleware
I got spammed with a few emails from seemingly bots trying to access the site URLs with `/favicon.ico` at the end, for example: /about//favicon.ico If this goes out of hand, it could cause significant costs from the email service.
This commit is contained in:
parent
fdf9ba27f1
commit
cb2f24ba8d
|
@ -152,7 +152,6 @@ MIDDLEWARE = [
|
|||
"django.middleware.csrf.CsrfViewMiddleware",
|
||||
"django.contrib.auth.middleware.AuthenticationMiddleware",
|
||||
"django.contrib.messages.middleware.MessageMiddleware",
|
||||
"django.middleware.common.BrokenLinkEmailsMiddleware",
|
||||
"django.middleware.clickjacking.XFrameOptionsMiddleware",
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user