fix: Suppression event planning

feat: Planning mode SchoolClass
This commit is contained in:
N3WT DE COMPET
2025-05-30 22:59:23 +02:00
parent e4668ef1e5
commit c117f96e52
3 changed files with 72 additions and 67 deletions

View File

@ -147,7 +147,7 @@ class EventsWithIdView(APIView):
return JsonResponse({'error': 'Event not found'}, status=404)
event.delete()
return JsonResponse({'message': 'Event deleted'}, status=204)
return JsonResponse({'message': 'Event deleted'}, status=200)
class UpcomingEventsView(APIView):
def get(self, request):