thomasw / djproxy

djproxy is a class-based generic view reverse HTTP proxy for Django.
MIT License
42 stars 15 forks source link

Configure proxies as csrf exempt by default #9

Closed kahnvex closed 10 years ago

kahnvex commented 10 years ago

This configures all proxy routes to be csrf exempt by default. This can be overridden by calling the generate_proxies function with the dict key-val pair:

{'csrf_exempt': False}
coveralls commented 10 years ago

Coverage Status

Coverage increased (+0.01%) when pulling c0f3977d1967ae1b9b2d8a6de3ea9ccd5fc63f63 on kahnjw:add_csrf_exempt_option into 8727aeff1e07b3ad3813f9ebbac5add5b0ac521f on thomasw:master.

coveralls commented 10 years ago

Coverage Status

Coverage increased (+0.01%) when pulling d84c9ea2a1f37ecbb75fc5524d209169dfa23f14 on kahnjw:add_csrf_exempt_option into 8727aeff1e07b3ad3813f9ebbac5add5b0ac521f on thomasw:master.