5 lines
179 B
Python
5 lines
179 B
Python
from rest_framework.authentication import SessionAuthentication
|
|
|
|
class CsrfExemptSessionAuthentication(SessionAuthentication):
|
|
def enforce_csrf(self, request):
|
|
return
|