|
@@ -16,9 +16,6 @@ class UserViewSet(viewsets.ModelViewSet):
|
|
"""
|
|
"""
|
|
queryset = User.objects.all().order_by('-date_joined')
|
|
queryset = User.objects.all().order_by('-date_joined')
|
|
serializer_class = UserSerializer
|
|
serializer_class = UserSerializer
|
|
- keys = APIKey.objects.all()
|
|
|
|
- for i in keys:
|
|
|
|
- print()
|
|
|
|
permission_classes = [HasAPIKey | IsAuthenticated]
|
|
permission_classes = [HasAPIKey | IsAuthenticated]
|
|
|
|
|
|
|
|
|