mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #20099 -- Eased subclassing of BrokenLinkEmailsMiddleware
Thanks Ram Rachum for the report and the initial patch, and Simon Charette for the review.
This commit is contained in:
@@ -98,6 +98,11 @@ crawlers often request::
|
||||
(Note that these are regular expressions, so we put a backslash in front of
|
||||
periods to escape them.)
|
||||
|
||||
If you'd like to customize the behavior of
|
||||
:class:`django.middleware.common.BrokenLinkEmailsMiddleware` further (for
|
||||
example to ignore requests coming from web crawlers), you should subclass it
|
||||
and override its methods.
|
||||
|
||||
.. seealso::
|
||||
|
||||
404 errors are logged using the logging framework. By default, these log
|
||||
|
||||
Reference in New Issue
Block a user