diff options
| author | Claude Paroz <claude@2xlibre.net> | 2013-05-24 17:55:50 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2013-05-25 12:10:53 +0200 |
| commit | f940e564e4623d531eb97a2cf1b116851003f9fd (patch) | |
| tree | 8667da411b9c87410586eb74e7a796e6f9b404ef /docs/howto/error-reporting.txt | |
| parent | 6de81d65f443a01961c23139ca5d7653ef012d35 (diff) | |
Fixed #20099 -- Eased subclassing of BrokenLinkEmailsMiddleware
Thanks Ram Rachum for the report and the initial patch, and Simon
Charette for the review.
Diffstat (limited to 'docs/howto/error-reporting.txt')
| -rw-r--r-- | docs/howto/error-reporting.txt | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
