shaxob #96
Reference in New Issue
Block a user
No description provided.
Delete Branch "shaxob"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@@ -17,6 +18,7 @@ class User(auth_models.AbstractUser):default=RoleChoice.USER,)avatar = models.ImageField(upload_to="avatars/", null=True, blank=True)role_permission = models.ForeignKey(Role, on_delete=models.SET_NULL, null=True)role_permission orniga role deb qoyish kerak field nomini
@@ -2,1 +2,3 @@from django.shortcuts import get_object_or_404from drf_spectacular.utils import extend_schemafrom h11 import ResponseResponse ni rest_framework.response dan import qilish kerak
@@ -0,0 +1,21 @@from django.db import modelsclass Role(models.Model):Modellarni boshqattan korib, togirlab chiqish kerak
@@ -359,0 +362,4 @@class AutoEvaluationSerializer(serializers.Serializer):brand = serializers.CharField()brand_model = serializers.CharField()year = serializers.CharField()olib tashlash kerak
@@ -157,0 +163,4 @@tags=["AutoEvaluation"],request=AutoEvaluationSerializer,)class AutoEvaluationRequestView(APIView):olib tashlash kerak
@@ -157,0 +185,4 @@@extend_schema(tags=["AutoEvaluation"])class GetArchivedEvaluation(ListAPIView):authentication_classes = []kerak emas
Pull request closed