Add is_archive field to Quickevaluation model. Write apis for update is_archive and list archived quick evaluations

This commit is contained in:
komoliddin
2026-04-23 11:49:55 +05:00
parent 320f490d23
commit 4fee037467
6 changed files with 99 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
from rest_framework.response import Response
from rest_framework import status
from rest_framework.permissions import AllowAny
from rest_framework.permissions import IsAuthenticated
from rest_framework.generics import GenericAPIView
@@ -11,7 +11,7 @@ from core.services.didox import DidoxService
class DidoxCompanyInfoAPIView(GenericAPIView):
authentication_classes = []
permission_classes = [AllowAny]
permission_classes = [IsAuthenticated]
@extend_schema(
tags=["Didox"],