mirror of
https://github.com/Findus23/acronomy.git
synced 2024-09-19 15:33:45 +02:00
correct tag filter
This commit is contained in:
parent
efc3f9cd7c
commit
f35af04084
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class TagListView(generic.ListView):
|
|||
model = Tag
|
||||
context_object_name = 'tags'
|
||||
ordering = "name"
|
||||
queryset = Tag.objects.filter(acronyms__isnull=False)
|
||||
queryset = Tag.objects.exclude(acronyms=None)
|
||||
|
||||
|
||||
class TagAcroView(generic.ListView):
|
||||
|
|
Loading…
Reference in a new issue