Fix: fix some API crashes (#10196)

This commit is contained in:
shamoon
2025-06-16 22:44:39 -07:00
committed by GitHub
parent de12023311
commit e4fd008441
6 changed files with 124 additions and 7 deletions

View File

@@ -342,6 +342,10 @@ class ApplicationConfigurationViewSet(ModelViewSet):
serializer_class = ApplicationConfigurationSerializer
permission_classes = (IsAuthenticated, DjangoModelPermissions)
@extend_schema(exclude=True)
def create(self, request, *args, **kwargs):
return Response(status=405) # Not Allowed
@extend_schema_view(
post=extend_schema(