开发者

How can I find out who is responsible for Django's CSRF middleware?

开发者 https://www.devze.com 2022-12-16 01:00 出处:网络
How can I find out who is responsible for Django\'s CSRF middleware so I could ask them questions? I\'m having so many CSRF failures for months on my Django site and it is costing me hours and hours

How can I find out who is responsible for Django's CSRF middleware so I could ask them questions?

I'm having so many CSRF failures for months on my Django site and it is costing me hours and hours of problems every few weeks. I want to contact the developers who worked on it to ask them one or two root questions about the problems I'm having.

I put up several other posts about the problems that never get sa开发者_StackOverflow中文版tisfactory answers, but that do result in a few work arounds:

Django CSRF framework cannot be disabled and is breaking my site

Django CSRF Framework having many failures

Tons of false positives from Django's CSRF middleware?

For Django's CSRF failure middleware, how can you get the CSRF errors to report what URL is failing?

Some other people are having the same types of frustrations: Completely disable Django's CSRF protection in SVN Trunk


CSRF protection is being re-worked for Django 1.2. See the community wiki page CsrfProtection that discusses the current limitations and proposals for re-working. Personally I'm thinking about moving ahead and using Simon Willison's django-safeform project as a temporary solution until 1.2 is released.


I've said this before, but you should not be using trunk for production projects. Use the stable release, and you won't have any problems.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号