diff --git a/mock_ticket_api/api.py b/mock_ticket_api/api.py index 35255b3..a6d9f24 100644 --- a/mock_ticket_api/api.py +++ b/mock_ticket_api/api.py @@ -1,5 +1,4 @@ from django.conf import settings -from django.utils.translation import gettext_lazy as _ from drf_spectacular.utils import extend_schema, extend_schema_view from rest_framework import permissions, serializers, status, viewsets from rest_framework.decorators import action @@ -19,8 +18,7 @@ class MockTicketParamsSerializer(serializers.Serializer): @extend_schema_view( - create=extend_schema(summary=_("Create a mock booking")), - confirm=extend_schema(summary=_("Confirm a previously created mock booking")), + create=extend_schema(exclude=True), confirm=extend_schema(exclude=True) ) class MockTicketViewSet(viewsets.ViewSet):