Skip to content

Commit

Permalink
Adds full CRUD opperations to clusters endpoint (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
djperrefort committed Nov 22, 2023
1 parent 3c3a65c commit 9b8818d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions keystone_api/apps/allocations/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion keystone_api/apps/research_products/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9b8818d

Please sign in to comment.