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:
parent
9d6321c921
commit
6bfae3de7c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue