| Name |
Last commit
|
Last update |
|---|---|---|
| docs | ||
| rest_framework | ||
| tests | ||
| .gitignore | ||
| .travis.yml | ||
| CONTRIBUTING.md | ||
| MANIFEST.in | ||
| README.md | ||
| mkdocs.py | ||
| requirements-test.txt | ||
| requirements.txt | ||
| runtests.py | ||
| setup.cfg | ||
| setup.py | ||
| tox.ini |
By default, Django returns "HTTP 403 Forbidden" responses when CSRF validation failed[1]. CSRF is a case of authorization, not of authentication. Therefore `PermissionDenied` should be raised instead of `AuthenticationFailed`. [1] https://docs.djangoproject.com/en/dev/ref/contrib/csrf/#rejected-requests
| Name |
Last commit
|
Last update |
|---|---|---|
| docs | Loading commit data... | |
| rest_framework | Loading commit data... | |
| tests | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .travis.yml | Loading commit data... | |
| CONTRIBUTING.md | Loading commit data... | |
| MANIFEST.in | Loading commit data... | |
| README.md | Loading commit data... | |
| mkdocs.py | Loading commit data... | |
| requirements-test.txt | Loading commit data... | |
| requirements.txt | Loading commit data... | |
| runtests.py | Loading commit data... | |
| setup.cfg | Loading commit data... | |
| setup.py | Loading commit data... | |
| tox.ini | Loading commit data... |