Opened 17 years ago

Closed 17 years ago

#5946 closed (invalid)

error in tutorial

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

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

Download all attachments as: .zip

Change History (4)

by Marc Fargas, 17 years ago

Attachment: 5946.diff added

Documentation patch.

by Marc Fargas, 17 years ago

Attachment: 5946.2.diff added

Fixed a small typo.

comment:1 by Marc Fargas, 17 years ago

Has patch: set
Triage Stage: UnreviewedAccepted

comment:2 by James Bennett, 17 years ago

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