summaryrefslogtreecommitdiff
path: root/app/utils/widgets.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-11-05 11:14:09 -0500
committerluxagraf <sng@luxagraf.net>2019-11-05 11:14:09 -0500
commit725e3d2f798d228a386466823490b6f25647a4db (patch)
tree4a4bdfbe7c494a596631bcb7312708dbf2115263 /app/utils/widgets.py
parentf65cea71db9d0ae489f6228d5d2c68dab0bd91ce (diff)
added updates to posts model
Diffstat (limited to 'app/utils/widgets.py')
-rw-r--r--app/utils/widgets.py2
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