diff options
Diffstat (limited to 'app/utils/widgets.py')
-rw-r--r-- | app/utils/widgets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/utils/widgets.py b/app/utils/widgets.py index f4a7a4a..9f76608 100644 --- a/app/utils/widgets.py +++ b/app/utils/widgets.py @@ -66,7 +66,7 @@ class TagListFilter(admin.SimpleListFilter): """ tl = [] self.model_to_use = model_admin.model - for t in self.model_to_use.tags.all().order_by('name'): + for t in self.model_to_use.oldtags.all().order_by('name'): tl += (t.name, t.name), return tl |