Remove user view from uncloud_pay

This commit is contained in:
fnux 2020-04-08 17:40:44 +02:00
parent 89c705f7d2
commit a8b81b074b

View file

@ -15,16 +15,6 @@ from .serializers import *
from datetime import datetime from datetime import datetime
import uncloud_pay.stripe as uncloud_stripe import uncloud_pay.stripe as uncloud_stripe
###
# Users.
class UserViewSet(viewsets.ReadOnlyModelViewSet):
serializer_class = UserSerializer
permission_classes = [permissions.IsAuthenticated]
def get_queryset(self):
return get_user_model().objects.all()
### ###
# Payments and Payment Methods. # Payments and Payment Methods.