Skip to content

Exempt SQL Detail Views from CSRF Middleware #141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Exempt SQL Detail Views from CSRF Middleware #141

wants to merge 2 commits into from

Conversation

peplin
Copy link

@peplin peplin commented Feb 22, 2011

Since the Django 1.2.5 security release (http://www.djangoproject.com/weblog/2011/feb/08/security/), CSRF tokens are also required for AJAX requests. This patch exempts those views from the CSRF checking - safe, considering that the toolbar will only be run when debugging.

@robhudson
Copy link
Contributor

This is now fixed in the develop branch. Thanks for the patch! New release coming soon.

@robhudson robhudson closed this Apr 6, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants