We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d803d98 commit 93673edCopy full SHA for 93673ed
readthedocs/restapi/authentication.py
@@ -3,12 +3,13 @@
3
4
5
class CsrfExemptSessionAuthentication(SessionAuthentication):
6
+
7
"""
8
Session authentication class exempt of CSRF.
9
10
DRF by default when using a ``SessionAuthentication`` it enforces CSRF.
11
- See: https://github.com/encode/django-rest-framework/blob/3.9.0/rest_framework/authentication.py#L134-L144
12
+ See: https://github.com/encode/django-rest-framework/blob/3.9.0/rest_framework/authentication.py#L134-L144 # noqa
13
14
15
def enforce_csrf(self, request):
0 commit comments