#10940: Omission in tutorial, part 4: generic views -----------------------------------------------+---------------------------- Reporter: zpearce | Owner: nobody Status: new | Milestone: Component: Documentation | Version: SVN Keywords: tutorial, generic view, object_id | Stage: Unreviewed Has_patch: 0 | -----------------------------------------------+---------------------------- When refactoring the poll app for generic views, no mention is made of the need to change one of the parameters passed into the vote() view from poll_id to object_id.
Original: def vote(request, poll_id): ...snip... Should be: def vote(request, object_id): ...etc... -- Ticket URL: <http://code.djangoproject.com/ticket/10940> 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 -~----------~----~----~----~------~----~------~--~---
