Opened 17 years ago

Closed 17 years ago

#4628 closed (duplicate)

wrong HttpResponseRedirect parameters

Reported by: pgrimes@… Owned by: Jacob
Component: Documentation Version: dev
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


In the latest tutorial documentation you have this:
return HttpResponseRedirect(reverse('mysite.polls.views.results', args=(,)))

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/' %

Change History (1)

comment:1 by Chris Beaven, 17 years ago

Resolution: duplicate
Status: newclosed

Dupe of #4615

Note: See TracTickets for help on using tickets.
Back to Top