seller_central_backend/api/authentication.py
vickytechkey 1591802c8e
All checks were successful
Build and Deploy Beta / build-and-push (push) Successful in 1m14s
Build and Deploy Beta / deploy (push) Successful in 10s
move CsrfExemptSessionAuthentication definition to api/authentication.py to break import cycles and clean register/onboarding flow
2026-08-09 13:43:22 +05:30

5 lines
179 B
Python

from rest_framework.authentication import SessionAuthentication
class CsrfExemptSessionAuthentication(SessionAuthentication):
def enforce_csrf(self, request):
return