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:
parent
72f9b53704
commit
efc3f9cd7c
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue