The problem occurs only when using AuthenticationForm!

On Jul 11, 4:14 pm, maroxe <bachir...@gmail.com> wrote:
> Hi all,
> I have a problem with django 1.2:
>  is_valid returns always False, and form.errors is empty.
> I use AuthentificationForm provided by django.
> I have created a bound form:
> form = AuthentificationForm(request.POST)
>
> and this request.POST:
> <QueryDict: {u'username': [u'maroxe'], u'csrfmiddlewaretoken':
> [u'f871257kikf70a95e1197c8af01597eb'], u'password': [u'mypass']}>
>
> I believe it's a probleme related to django new securitiy system
> against csrf attaks.
>
> Any help pls?
-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to