Opened 13 years ago
Closed 13 years ago
#17309 closed Bug (fixed)
Missing quotes on ignorable 404 example.
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
The example on https://docs.djangoproject.com/en/dev/howto/error-reporting/ is missing the closing single quotes on the IGNORABLE_404_URLS example.
import re
IGNORABLE_404_URLS = (
re.compile(r'/apple-touch-icon.*\.png$'),
re.compile(r'/favicon\.ico$),
re.compile(r'/robots\.txt$),
)
Should read
import re
IGNORABLE_404_URLS = (
re.compile(r'/apple-touch-icon.*\.png$'),
re.compile(r'/favicon\.ico$'),
re.compile(r'/robots\.txt$'),
)
Change History (2)
comment:1 by , 13 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [17160]: