tag added to API

This commit is contained in:
Qwann 2017-07-22 02:09:31 +02:00
parent 36f038259b
commit cd1ed08ca6
3 changed files with 6 additions and 8 deletions

View file

@ -56,12 +56,7 @@ class PlaceViewSet(EventSpecificViewSet):
serializer_class = PlaceSerializer
class ActivityTagViewSet(ModelViewSet):
"""
This viewset automatically provides `list`, `create`, `retrieve`,
`update` and `destroy` actions.
"""
class ActivityTagViewSet(EventSpecificViewSet):
queryset = ActivityTag.objects.all()
serializer_class = ActivityTagSerializer