Skip to content

Commit 53b879f

Browse files
committed
Fixed django#19444 -- Clarified IGNORABLE_404_URLS documentation
1 parent 66dfcc1 commit 53b879f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/ref/settings.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,9 +1119,11 @@ Default: ``()``
11191119

11201120
List of compiled regular expression objects describing URLs that should be
11211121
ignored when reporting HTTP 404 errors via email (see
1122-
:doc:`/howto/error-reporting`). Use this if your site does not provide a
1123-
commonly requested file such as ``favicon.ico`` or ``robots.txt``, or if it
1124-
gets hammered by script kiddies.
1122+
:doc:`/howto/error-reporting`). Regular expressions are matched against
1123+
:meth:`request's full paths <django.http.HttpRequest.get_full_path>` (including
1124+
query string, if any). Use this if your site does not provide a commonly
1125+
requested file such as ``favicon.ico`` or ``robots.txt``, or if it gets
1126+
hammered by script kiddies.
11251127

11261128
This is only used if :setting:`SEND_BROKEN_LINK_EMAILS` is set to ``True`` and
11271129
``CommonMiddleware`` is installed (see :doc:`/topics/http/middleware`).

0 commit comments

Comments
 (0)