Opened 15 years ago
Closed 15 years ago
#11587 closed (duplicate)
Small error in tutorial ("poll_id" should be "object_id")
Reported by: | popcorn | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Hi, I was just going through the tutorial on django, and found a small error on the page 4
of the tutorial. The last instance of the url_patterns definition has the line
(r'^(?P<poll_id>\d+)/vote/$', 'mysite.polls.views.vote')
which should be
(r'^(?P<object_id>\d+)/vote/$', 'mysite.polls.views.vote')
Otherwise, I managed to get through the whole thing and now have my very first django app running! Thanks!
Note:
See TracTickets
for help on using tickets.
Duplicate of #10294, #7253 and #5300