summaryrefslogtreecommitdiff
path: root/docs/howto/error-reporting.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2011-05-24 18:39:28 +0000
committerAdrian Holovaty <adrian@holovaty.com>2011-05-24 18:39:28 +0000
commitd7036e52ab856b9e7125391cddcd18c08b5b0938 (patch)
treeb636143d06fcdc5cd661c26a8b94b0af9d78b84b /docs/howto/error-reporting.txt
parent4a4b6b271e681ce1c68bc0f10eb90355896e1a91 (diff)
Made some small tweaks/fixes to documentation from IGNORABLE_404_URLS changeset [16160]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/howto/error-reporting.txt')
-rw-r--r--docs/howto/error-reporting.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/howto/error-reporting.txt b/docs/howto/error-reporting.txt
index 4642c39a92..c15c1d872d 100644
--- a/docs/howto/error-reporting.txt
+++ b/docs/howto/error-reporting.txt
@@ -84,10 +84,12 @@ crawlers often request::
import re
IGNORABLE_404_URLS = (
re.compile(r'^/apple-touch-icon.*\.png$'),
- re.compile(r'^/favicon.ico$),
- re.compile(r'^/robots.txt$),
+ re.compile(r'^/favicon\.ico$),
+ re.compile(r'^/robots\.txt$),
)
+(Note that these are regular expressions, so we put a backslash in front of
+periods to escape them.)
The best way to disable this behavior is to set
:setting:`SEND_BROKEN_LINK_EMAILS` to ``False``.