1
0
Fork 0
mirror of https://github.com/Findus23/acronomy.git synced 2024-09-19 15:33:45 +02:00

improve API docs

This commit is contained in:
Lukas Winkler 2020-07-26 15:25:26 +02:00
parent 5d1c862c79
commit 8b632fd5c7
Signed by: lukas
GPG key ID: 54DE4D798D244853

View file

@ -156,6 +156,9 @@ class AcronymViewSet(viewsets.ReadOnlyModelViewSet):
class TagViewSet(viewsets.ReadOnlyModelViewSet):
"""
A list of all available tags (used for auto-completion)
"""
queryset = Tag.objects.all().order_by("name")
serializer_class = TagSerializer