Opened 15 years ago
Last modified 15 years ago
#12133 closed
tutorial 4 - generic view and vote view — at Initial Version
Description ¶
In the last part of tutorial 4, it mention that in order to get the vote() view working, just change:
return HttpResponseRedirect(reverse('poll_results', args=(p.id,)))
However in the vote() view, the exception handling code also needs to change to reference the new poll_detail.html template and change poll object name 'poll' to 'object' since the poll_detail.html was changed to use the generic view.
This is more of a clarification and nothing really wrong with the tutorial.