Message info From:Reinout van Rees Subject:Re: Request Context problem Date:Mon, 20 Feb 2012 00:03:12 +0100

On 19-02-12 14:16, dummyman dummyman wrote:
> I am getting the following eror on posting the form
> CSRF verification failed. Request aborted.
> Reason given for failure:
> CSRF token missing or incorrect.

It is already on the first go into your view that Django complains about
a missing CSRF token. It won't even hit your "else add csrf token" code.

The solution is simple: just add a {{ csrf_token }} somewhere in your
form. That ought to do it.


Reinout van Rees
"If you're not sure what to do, make something. -- Paul Graham"

You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at