Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#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 Yuri Baburov, 14 years ago

Status: newassigned

comment:2 by Alex Gaynor, 14 years ago

Resolution: fixed
Status: assignedclosed

(In [14308]) Fixed #14519 -- corrected a type in the tutorial, thanks buriy for the report and fix.

comment:3 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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