1
0
mirror of https://github.com/django/django.git synced 2024-12-23 09:36:06 +00:00

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

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