add timeline information to the /items endpoint
All checks were successful
/ test (push) Successful in 52s
/ deploy (push) Successful in 4m37s

This commit is contained in:
j3d1 2024-11-23 01:22:24 +01:00
parent e8887fee8b
commit d5eadbe4b1
5 changed files with 145 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'])