from rest_framework import viewsets

from .models import UserModel
from .serializers import UserSerializer

class UserViewSet(viewsets.ModelViewSet):
    queryset = UserModel.objects.all()

    serializer_class = UserSerializer
