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

hide unused tags

This commit is contained in:
Lukas Winkler 2020-06-15 20:27:28 +02:00
parent 72f9b53704
commit efc3f9cd7c
Signed by: lukas
GPG key ID: 54DE4D798D244853

View file

@ -47,6 +47,7 @@ class TagListView(generic.ListView):
model = Tag
context_object_name = 'tags'
ordering = "name"
queryset = Tag.objects.filter(acronyms__isnull=False)
class TagAcroView(generic.ListView):