Forms.is_valid() Always return False
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-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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home