> POST:<QueryDict: {u'{"user":"test_user","password":"test_password"}':Wait a second...
> [u'']}>,
Where's your csrfmiddlewaretoken from the {% csrf_token %} field that
you put in your form?
This is the process:
- the cookie token is basically a lock
- the POST request resembles trying to open the door with that lock
- the formfield token is a key
No key, no open door.
Wrong key, no open door.
+1
Looks like your CSRF Token is missing from the POST data.
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