We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Wondering what might be a good way to deal with CSRF/XSRF.
Prior art, i.e. what DRF does, is to only use Django's CSRF protection when authenticating with methods other than session authentication.
Right now Lepo doesn't even deal with authentication.
The text was updated successfully, but these errors were encountered:
Perhaps Lepo should check whether the csrf_exempt attribute is present on the handler and decorate the view accordingly.
csrf_exempt
Sorry, something went wrong.
No branches or pull requests
Wondering what might be a good way to deal with CSRF/XSRF.
Prior art, i.e. what DRF does, is to only use Django's CSRF protection when authenticating with methods other than session authentication.
Right now Lepo doesn't even deal with authentication.
The text was updated successfully, but these errors were encountered: