Docker compose konfiguratsiyasini yangilandi va xizmatlar uchun yangi buyruqlar qo'shildi.

This commit is contained in:
A'zamov Samandar
2025-04-21 18:42:21 +05:00
parent 5ce665b643
commit d39f9a23f3
228 changed files with 36071 additions and 115 deletions

View File

@@ -1 +1,2 @@
from .auth import * # noqa
from .user import * # noqa

View File

@@ -0,0 +1,9 @@
from rest_framework.viewsets import GenericViewSet
from django.contrib.auth import get_user_model
from rest_framework.mixins import RetrieveModelMixin, ListModelMixin
from ..serializers import UserSerializer
class UserViewSet(RetrieveModelMixin, ListModelMixin, GenericViewSet):
model = get_user_model()
serializer_class = UserSerializer