class UserViewSet(mixins.CreateModelMixin, mixins.RetrieveModelMixin,
    mixins.ListModelMixin, GenericViewSet):
    queryset = User.objects.all()
serializer_class = UserSerializer

def create(self, request):
    pass
django rest framework - using detail_route and detail_list