#11587: Small error in tutorial ("poll_id" should be "object_id")
---------------------------+------------------------------------------------
Reporter: popcorn | Owner: nobody
Status: new | Milestone:
Component: Documentation | Version: 1.0
Keywords: | Stage: Unreviewed
Has_patch: 0 |
---------------------------+------------------------------------------------
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!
--
Ticket URL: <http://code.djangoproject.com/ticket/11587>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---