add auth class

This commit is contained in:
Parsa Nazer
2025-01-30 00:06:44 +03:30
parent 698c5d0a6f
commit 07263a4de8
3 changed files with 6 additions and 2 deletions
+1
View File
@@ -8,6 +8,7 @@ from rest_framework import status
class HomeView(APIView):
authentication_classes = []
def get(self, request):
dollor_object, _ = DollorModel.objects.get_or_create(unique_filed='unique')