Impor CreateApiview Django
from rest_framework import generics
...
class UserList(generics.ListCreateAPIView):
...
MitchAloha
from rest_framework import generics
...
class UserList(generics.ListCreateAPIView):
...