Fixed #17309 -- Typo in the IGNORABLE_404_URLS example.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Aymeric Augustin 2011-11-28 19:41:58 +00:00
parent 9d6321c921
commit 6bfae3de7c
1 changed files with 2 additions and 2 deletions

View File

@ -87,8 +87,8 @@ crawlers often request::
import re import re
IGNORABLE_404_URLS = ( IGNORABLE_404_URLS = (
re.compile(r'^/apple-touch-icon.*\.png$'), re.compile(r'^/apple-touch-icon.*\.png$'),
re.compile(r'^/favicon\.ico$), re.compile(r'^/favicon\.ico$'),
re.compile(r'^/robots\.txt$), re.compile(r'^/robots\.txt$'),
) )
(Note that these are regular expressions, so we put a backslash in front of (Note that these are regular expressions, so we put a backslash in front of