Bret, that was exactly correct. I don't know much about "pretty" but "works" is 
good. Many thanks.

Cheers.

________________________________________
From: [email protected] [[email protected]] On Behalf 
Of Brett Parker [[email protected]]
Sent: Tuesday, May 26, 2009 4:04 AM
To: [email protected]
Subject: Re: 1.0 tutorial Pt. 4, Poll Detail form appends action to redirect URL

On 26 May 00:28, Allan wrote:
>
> I'm completely around the axle on this.
> ---------------------------------------------------------------------
> ** The log:
> [26/May/2009 00:06:43] "GET /polls/1/detail/ HTTP/1.1" 200 333
> [26/May/2009 00:06:49] "POST /polls/1/detail/vote/ HTTP/1.1" 404 2314

^^^ That should really be a post to /polls/1/vote/ not to /polls/1/detail/vote/

>
> <form action="vote/" method="post">

^^^ the action there should probably be /polls/{{ poll.id }}/vote/

(but that's not very pretty).

Cheers,
--
Brett Parker


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to