#21800: CSRF middleware can't get POST data ------------------------------+-------------------- Reporter: dirigeant | Owner: nobody Type: Bug | Status: new Component: Core (Other) | Version: 1.6 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 ------------------------------+-------------------- 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. -- Ticket URL: <https://code.djangoproject.com/ticket/21800> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/052.a87eceb1a95c6369dedc0eeadc6991f3%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.