add timeline information to the /items endpoint
This commit is contained in:
parent
01b022128d
commit
a51036d6f2
5 changed files with 161 additions and 11 deletions
|
@ -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'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue