Code

Opened 7 years ago

Closed 7 years ago

#5946 closed (invalid)

error in tutorial

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

Description

Error found in page http://www.djangoproject.com/documentation/tutorial03/

in the urlconf file listed in this tutorial, in this case, mysite/polls/url.py...the following should be commented out until built during the next tutorial stage.

#    (r'^(?P<poll_id>\d+)/results/$', 'results'),
#    (r'^(?P<poll_id>\d+)/vote/$', 'vote'),

If you don't, the admin page is broken. See http://code.djangoproject.com/ticket/5904 for details. I'm new to django and pieced together what i needed to do based on the terse description in that closed ticket. Having this mentioned in the tutorial would have saved me about an hour of grief. Other than that, cool! thanks. :)

Attachments (2)

5946.diff (2.3 KB) - added by telenieko 7 years ago.
Documentation patch.
5946.2.diff (2.3 KB) - added by telenieko 7 years ago.
Fixed a small typo.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by telenieko

Documentation patch.

Changed 7 years ago by telenieko

Fixed a small typo.

comment:1 Changed 7 years ago by telenieko

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 7 years ago by ubernostrum

  • Resolution set to invalid
  • Status changed from new to closed

If you follow along with the tutorial, you see that the very next thing you do after this change is write the appropriate views; as such, I'm marking this invalid.

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.