Skip to content

Commit

Permalink
chore: allow docker image updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Topvennie committed May 16, 2024
1 parent 67ec62c commit d608563
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions backend/api/views/docker_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@
from django.db.models.manager import BaseManager
from rest_framework.decorators import action
from rest_framework.mixins import (CreateModelMixin, DestroyModelMixin,
ListModelMixin, RetrieveModelMixin,
UpdateModelMixin)
RetrieveModelMixin, UpdateModelMixin)
from rest_framework.permissions import IsAdminUser
from rest_framework.request import Request
from rest_framework.response import Response
from rest_framework.viewsets import GenericViewSet


class DockerImageViewSet(RetrieveModelMixin, CreateModelMixin, DestroyModelMixin, GenericViewSet):
class DockerImageViewSet(RetrieveModelMixin, UpdateModelMixin, CreateModelMixin, DestroyModelMixin, GenericViewSet):

queryset = DockerImage.objects.all()
serializer_class = DockerImageSerializer
Expand Down

0 comments on commit d608563

Please sign in to comment.