from rest_framework.viewsets import ModelViewSet
from .serializers import UserSerializer, UserTextSerializer
from .models import User, UserText


class UserViewSet(ModelViewSet):
    queryset = User.objects.all()
    serializer_class = UserSerializer


class UserTextViewSet(ModelViewSet):
    queryset = UserText.objects.all()
    serializer_class = UserTextSerializer

c7319c233e7760501d22d690f8dac80efccabe14
<mask token>


class UserTextViewSet(ModelViewSet):
    queryset = UserText.objects.all()
    serializer_class = UserTextSerializer

<mask token>


class UserViewSet(ModelViewSet):
    <mask token>
    <mask token>


class UserTextViewSet(ModelViewSet):
    queryset = UserText.objects.all()
    serializer_class = UserTextSerializer

<mask token>


class UserViewSet(ModelViewSet):
    queryset = User.objects.all()
    serializer_class = UserSerializer


class UserTextViewSet(ModelViewSet):
    queryset = UserText.objects.all()
    serializer_class = UserTextSerializer

from rest_framework.viewsets import ModelViewSet
from .serializers import UserSerializer, UserTextSerializer
from .models import User, UserText


class UserViewSet(ModelViewSet):
    queryset = User.objects.all()
    serializer_class = UserSerializer


class UserTextViewSet(ModelViewSet):
    queryset = UserText.objects.all()
    serializer_class = UserTextSerializer
