Skip to content
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

Default settings.py should include CSRF middleware #4

Closed
coderanger opened this issue Jun 21, 2010 · 3 comments
Closed

Default settings.py should include CSRF middleware #4

coderanger opened this issue Jun 21, 2010 · 3 comments
Milestone

Comments

@coderanger
Copy link

Without CsrfViewMiddleware and CsrfResponseMiddleware, you can't get past the login form.

@coderanger
Copy link
Author

On a related note, if these are enabled I get CSRF errors from the root() view when uploading from distutils. Kind of a catch-22.

@jimcook
Copy link

jimcook commented Aug 26, 2010

I uploaded a patch that fixes this problem for me. Perhaps you can apply it to the code in the repository.

Note: I'm a django beginner. I just followed the friendly advice in the error message that popped up after an attempted login.

@benliles
Copy link
Owner

I included your patch in my repository; however, I do not maintain the chishop project on http://pypi.python.org. You'll need to contact Ask about getting a new version of chishop published.

This issue was closed.
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

No branches or pull requests

3 participants