Skip to content

Commit

Permalink
Remove CSVrenderer
Browse files Browse the repository at this point in the history
  • Loading branch information
kovacspe committed Nov 10, 2023
1 parent fe4b676 commit 583e507
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions competition/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
from rest_framework.exceptions import ValidationError
from rest_framework.permissions import IsAdminUser, IsAuthenticated
from rest_framework.response import Response
from rest_framework.settings import api_settings
from rest_framework_csv.renderers import CSVRenderer

from base.utils import mime_type
from competition import utils
Expand Down Expand Up @@ -560,8 +558,6 @@ class SemesterViewSet(ModelViewSetWithSerializerContext):
permission_classes = (CompetitionRestrictedPermission,)
filterset_fields = ['competition']
http_method_names = ['get', 'post', 'head']
renderer_classes = (CSVRenderer, ) + \
tuple(api_settings.DEFAULT_RENDERER_CLASSES)

def perform_create(self, serializer):
"""
Expand Down

0 comments on commit 583e507

Please sign in to comment.