add timeline information to the /items endpoint

This commit is contained in:
j3d1 2024-11-23 01:22:24 +01:00
parent 01b022128d
commit a51036d6f2
5 changed files with 161 additions and 11 deletions

View file

@ -67,6 +67,8 @@ def item(request, event_slug):
return Response(status=400)
except Event.DoesNotExist:
return Response(status=404)
except KeyError:
return Response(status=400)
@api_view(['GET', 'PUT', 'DELETE', 'PATCH'])