Opened 18 years ago
Closed 18 years ago
#4628 closed (duplicate)
wrong HttpResponseRedirect parameters
Description ¶
In the latest tutorial documentation you have this:
return HttpResponseRedirect(reverse('mysite.polls.views.results', args=(p.id,)))
But we using generic view we get rid of the results() method, so shouldn't this be changed to this?:
return HttpResponseRedirect('/polls/%s/results/' % p.id)
Note:
See TracTickets
for help on using tickets.
Dupe of #4615