<reponame>Ichinga-Samuel/Python-Tips-API<filename>accounts/views.py
from rest_framework import generics
from .serializer import UserSerializer


class UserCreate(generics.CreateAPIView):
    authentication_classes = ()
    permission_classes = ()
    serializer_class = UserSerializer

from rest_framework import generics
from .serializer import UserSerializer


class UserCreate(generics.CreateAPIView):
    authentication_classes = ()
    permission_classes = ()
    serializer_class = UserSerializer