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:
parent
5d1c862c79
commit
8b632fd5c7
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue