File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1+ from django .utils .decorators import method_decorator
2+ from django .views .decorators .csrf import csrf_exempt
13from rest_framework .permissions import AllowAny
24from rest_framework .viewsets import ViewSet
35
46from commons .api .responses import ResponseFactory
57from .services import BlockedEmailService
68
79
10+ @method_decorator (csrf_exempt , name = "dispatch" )
811class BlockedEmailView (ViewSet ):
912 permission_classes = [AllowAny ]
1013
Original file line number Diff line number Diff line change @@ -17,11 +17,13 @@ djangorestframework==3.15.2
1717djangorestframework-simplejwt == 5.2.0
1818filelock == 3.16.1
1919google-auth == 2.36.0
20+ gunicorn == 22.0.0
2021identify == 2.6.2
2122idna == 3.10
2223jmespath == 1.0.1
2324nodeenv == 1.9.1
2425oauthlib == 3.2.2
26+ packaging == 24.2
2527platformdirs == 4.3.6
2628postgres == 4.0
2729pre_commit == 4.0.1
@@ -50,4 +52,3 @@ typing_extensions==4.12.2
5052tzdata == 2024.2
5153urllib3 == 2.2.3
5254virtualenv == 20.27.1
53- gunicorn == 22.0.0
You can’t perform that action at this time.
0 commit comments