diff options
author | Claude Paroz <claude@2xlibre.net> | 2012-12-07 17:39:36 +0100 |
---|---|---|
committer | Claude Paroz <claude@2xlibre.net> | 2012-12-07 17:39:36 +0100 |
commit | 53b879f045f0e55cc8f4bedff67b5a14f3057561 (patch) | |
tree | 869fca82927f139fe5a05326619750191141a4ea /docs | |
parent | 66dfcc10b37120638894cb412a15274b17cfb360 (diff) | |
download | django-53b879f045f0e55cc8f4bedff67b5a14f3057561.tar.gz |
Fixed #19444 -- Clarified IGNORABLE_404_URLS documentation
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ref/settings.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 4a2147fa4c..b17f88ab4a 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1119,9 +1119,11 @@ Default: ``()`` List of compiled regular expression objects describing URLs that should be ignored when reporting HTTP 404 errors via email (see -:doc:`/howto/error-reporting`). Use this if your site does not provide a -commonly requested file such as ``favicon.ico`` or ``robots.txt``, or if it -gets hammered by script kiddies. +:doc:`/howto/error-reporting`). Regular expressions are matched against +:meth:`request's full paths <django.http.HttpRequest.get_full_path>` (including +query string, if any). Use this if your site does not provide a commonly +requested file such as ``favicon.ico`` or ``robots.txt``, or if it gets +hammered by script kiddies. This is only used if :setting:`SEND_BROKEN_LINK_EMAILS` is set to ``True`` and ``CommonMiddleware`` is installed (see :doc:`/topics/http/middleware`). |