#14519 closed (fixed)
Tutorial 4 uses wrong syntax for name
Reported by: | Yuri Baburov | Owned by: | Yuri Baburov |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
From http://code.djangoproject.com/browser/django/trunk/docs/intro/tutorial04.txt :
248 url(r'^(?P<pk>\d+)/results/$', 249 DetailView.as_view( 250 models=Poll, 251 template_name='polls/results.html'), 252 'poll_results'),
Correct:
248 url(r'^(?P<pk>\d+)/results/$', 249 DetailView.as_view( 250 models=Poll, 251 template_name='polls/results.html'), 252 name='poll_results'),
Change History (3)
comment:1 by , 14 years ago
Status: | new → assigned |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
(In [14308]) Fixed #14519 -- corrected a type in the tutorial, thanks buriy for the report and fix.