Make sure you have 'django.middleware.csrf.CsrfViewMiddleware', in the MIDDLEWARE_CLASSES tuple in the settings.py file.
Cheers, Brett
On 9 Sep 2011, at 16:47, nicolas HERSOG wrote:
> Hi All !
>
> Do any of you use this app https://bitbucket.org/ubernostrum/django-registration/overview with the csrf middleware ?
>
> Instead of re-write myself the registar, check via email, lost password, login and co i tried to use this app, but it don't work and i have this message :
> Forbidden (403)
> CSRF verification failed. Request aborted.
>
> I added to the login form {{ csrf_token }} but it's seems that it is not implemented,
>
> any ideas ?
>
> Thanks for all :)
>
>
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
--
Brett Hutley - Stimuli Limited
work: brett@stimuli.co http://stimuli.co
home: brett@hutley.net http://bretthutley.com
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment