SOITA/users/views.py
Hubert Jankowski 539c4690cb changers
2021-12-05 13:50:34 +01:00

10 lines
233 B
Python

from rest_framework import viewsets
from users.models import User
from users.serializers import UserSerializer
class UserModelViewSet(viewsets.ModelViewSet):
queryset = User.objects.all()
serializer_class = UserSerializer