Correct !!

But then do I need to use the context processor and the {%  csrf_token %}
tag for every view and every template which has a form ?

- Sachin.

On Fri, Jun 11, 2010 at 9:52 PM, Tay Ray Chuan <[email protected]> wrote:

> Hi,
>
> On Fri, Jun 11, 2010 at 11:40 PM, Sachin Goel <[email protected]>
> wrote:
> > I am using Satchmo release 0.9.1 and its giving 'CSRF verification
> failure'
> > error at the 'Post Review for a product' screen. To fix the issue, I
> tried
> > to add the csr middleware class to the settings.py and the {%  csrf_token
> %}
> > to the product review form. But, now it has started to give the 'CSRF
> > verification failure' errorat the click of every button.
>
> You didn't mention your context processors setting - you need to modify it
> too.
>
>  http://docs.djangoproject.com/en/1.2/ref/contrib/csrf/#how-to-use-it
>
> --
> Cheers,
> Ray Chuan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Satchmo users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<satchmo-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/satchmo-users?hl=en.
>
>

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

Reply via email to