Code

Opened 4 years ago

Closed 4 years ago

Last modified 3 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'),

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by buriy

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

comment:2 Changed 4 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 3 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.