Loading services/webapp/code/rosetta/core_app/api.py +0 −14 Original line number Diff line number Diff line Loading @@ -210,20 +210,6 @@ class logout_api(PrivateGETAPI): return ok200() class UserViewSet(viewsets.ModelViewSet): """ API endpoint that allows Users to be viewed or edited. """ class UserSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = User fields = ('url', 'username', 'email', 'groups') queryset = User.objects.all().order_by('-date_joined') serializer_class = UserSerializer class agent_api(PublicGETAPI): def _get(self, request): Loading services/webapp/code/rosetta/urls.py +0 −3 Original line number Diff line number Diff line Loading @@ -34,9 +34,6 @@ from rest_framework import routers from rest_framework.documentation import include_docs_urls from rest_framework_swagger.views import get_swagger_view core_app_api_router = routers.DefaultRouter() core_app_api_router.register(r'users', core_app_api.UserViewSet) urlpatterns = [ # Pages Loading Loading
services/webapp/code/rosetta/core_app/api.py +0 −14 Original line number Diff line number Diff line Loading @@ -210,20 +210,6 @@ class logout_api(PrivateGETAPI): return ok200() class UserViewSet(viewsets.ModelViewSet): """ API endpoint that allows Users to be viewed or edited. """ class UserSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = User fields = ('url', 'username', 'email', 'groups') queryset = User.objects.all().order_by('-date_joined') serializer_class = UserSerializer class agent_api(PublicGETAPI): def _get(self, request): Loading
services/webapp/code/rosetta/urls.py +0 −3 Original line number Diff line number Diff line Loading @@ -34,9 +34,6 @@ from rest_framework import routers from rest_framework.documentation import include_docs_urls from rest_framework_swagger.views import get_swagger_view core_app_api_router = routers.DefaultRouter() core_app_api_router.register(r'users', core_app_api.UserViewSet) urlpatterns = [ # Pages Loading