From f940e564e4623d531eb97a2cf1b116851003f9fd Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Fri, 24 May 2013 17:55:50 +0200 Subject: Fixed #20099 -- Eased subclassing of BrokenLinkEmailsMiddleware Thanks Ram Rachum for the report and the initial patch, and Simon Charette for the review. --- docs/howto/error-reporting.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/howto/error-reporting.txt') diff --git a/docs/howto/error-reporting.txt b/docs/howto/error-reporting.txt index 27f11f4936..987a503e95 100644 --- a/docs/howto/error-reporting.txt +++ b/docs/howto/error-reporting.txt @@ -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 -- cgit v1.3