CSRF middleware can't get POST data
|Reported by:||dirigeant||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I have a django project which written with Django 1.3 and migrated to Django 1.6. CSRF middleware isn't in middleware list.
I get 403 (csrf) error from admin login page and all other forms. I use default admin login page and csrf value is in form and in cookie.
When i add a print line into csrf middleware, i can see that POST dict is empty. But if i add a print line into Common middleware, i can see POST data and CSRF middleware also works properly.
I can reproduce this error with nginx+uwsgi, only uwsgi and django development server.