Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#14519 closed (fixed)

Tutorial 4 uses wrong syntax for name

Reported by: buriy Owned by: buriy
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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 Changed 5 years ago by buriy

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Status changed from new to assigned

comment:2 Changed 5 years ago by Alex

  • Resolution set to fixed
  • Status changed from assigned to closed

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

comment:3 Changed 4 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

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