Opened 6 years ago

Closed 6 years ago

#19754 closed Cleanup/optimization (invalid)

Missing surrounding quotes

Reported by: aves@… Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords: misprint
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


I think there are missing quotes on the third code block at

(r'/archive/(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/$', archive_view)

Should certainly be:

(r'/archive/(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/$', 'archive_view')

Change History (1)

comment:1 Changed 6 years ago by Aymeric Augustin

Resolution: invalid
Status: newclosed

It's legal (and possibly a good practice) to pass the view functions themselves in URLconfs.

Note: See TracTickets for help on using tickets.
Back to Top