Skip to content

Commit 93673ed

Browse files
committed
Lint
1 parent d803d98 commit 93673ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

readthedocs/restapi/authentication.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33

44

55
class CsrfExemptSessionAuthentication(SessionAuthentication):
6+
67
"""
78
Session authentication class exempt of CSRF.
89
910
DRF by default when using a ``SessionAuthentication`` it enforces CSRF.
1011
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
1213
"""
1314

1415
def enforce_csrf(self, request):

0 commit comments

Comments
 (0)