On Wed, Jan 20, 2010 at 3:10 PM, rolo <[email protected]> wrote:

> [snip]
> Everything worked beautifully(the docs are very nice), until I reached
> the 4th and last part. (http://docs.djangoproject.com/en/1.1/intro/
> tutorial04/ <http://docs.djangoproject.com/en/1.1/intro/%0Atutorial04/>)
>
> - I updated the "polls/detail.html" page ;
> - modified the "mysite/polls/views.py" view  ;
> - and created the "results.html" page
> (http://docs.djangoproject.com/en/1.1/intro/tutorial04/#write-a-simple-
> form)
>
> Then the tutorial says: Now, go to /polls/1/  in your browser and vote
> in the poll. You should see a results page that gets updated each time
> you vote.
>
> I do that and see the poll and radio buttons and make a selection.
> However, instead of seeing the results page I get the following error:
>
> CSRF verification failed. Request aborted.
>
>
You are following the 1.1 version of the docs but have apparently installed
something more recent  (1.2 alpha or a current SVN checkout?), as this CSRF
change is one of the new in 1.2 items. For the level of code you appear to
have installed, you should follow the development level of the docs, for
example:

http://docs.djangoproject.com/en/dev/intro/tutorial04/#intro-tutorial04

Karen
--
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