diff --git a/keystone_api/apps/allocations/views.py b/keystone_api/apps/allocations/views.py index 42d305e0..565e5f3a 100644 --- a/keystone_api/apps/allocations/views.py +++ b/keystone_api/apps/allocations/views.py @@ -12,8 +12,8 @@ __all__ = ['AllocationViewSet', 'ClusterViewSet', 'ProposalViewSet', 'ProposalReviewViewSet'] -class ClusterViewSet(viewsets.ReadOnlyModelViewSet): - """Read-only JSON ViewSet for querying cluster database records.""" +class ClusterViewSet(viewsets.ModelViewSet): + """System settings and configuration for managed Slurm clusters.""" queryset = Cluster.objects.all() serializer_class = ClusterSerializer diff --git a/keystone_api/apps/research_products/views.py b/keystone_api/apps/research_products/views.py index f326af83..294b5eea 100644 --- a/keystone_api/apps/research_products/views.py +++ b/keystone_api/apps/research_products/views.py @@ -3,7 +3,6 @@ View objects handle the processing of incoming HTTP requests and return the appropriately rendered HTML template or other HTTP response. """ -from typing import overload from rest_framework import viewsets