Opened 10 years ago

Closed 9 years ago

#5946 closed (invalid)

error in tutorial

Reported by: Joe 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 Marc Fargas 10 years ago.
Documentation patch.
5946.2.diff (2.3 KB) - added by Marc Fargas 10 years ago.
Fixed a small typo.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by Marc Fargas

Attachment: 5946.diff added

Documentation patch.

Changed 10 years ago by Marc Fargas

Attachment: 5946.2.diff added

Fixed a small typo.

comment:1 Changed 10 years ago by Marc Fargas

Has patch: set
Triage Stage: UnreviewedAccepted

comment:2 Changed 9 years ago by James Bennett

Resolution: invalid
Status: newclosed

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.

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