#10801: tutorial part 4 vote view needs to redirect in the error case
------------------------------------+---------------------------------------
Reporter: [email protected] | Owner: nobody
Status: reopened | Milestone:
Component: Documentation | Version: 1.0
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Changes (by kmtracey):
* status: closed => reopened
* resolution: invalid =>
Comment:
Replying to [comment:2 anonymous]:
> if you say so... but if you vote on the resulting page you get a 404
error for the URL "http://127.0.0.1:8000/polls/1/vote/vote/". Doesn't
seem right to me.
You might have mentioned that detail in the original report! That actually
points to something that was recently changed -- the form action in the
template was changed from `/polls/{{ poll.id }}/vote/` to just `vote/` as
part of changeset r10371. That changeset fixed a bajillion tickets so I'm
not sure yet what problem exactly that it was supposed to address, but it
does seem to have introduced a problem in the error path for the view.
--
Ticket URL: <http://code.djangoproject.com/ticket/10801#comment:3>
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
-~----------~----~----~----~------~----~------~--~---