diff options
author | Gitea <gitea@fake.local> | 2020-04-29 02:15:31 +0000 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2020-04-29 02:15:31 +0000 |
commit | afe50e464d76690fc1fa7c6d72c0d6d7e743a527 (patch) | |
tree | ea2b277ddc3d9aaba2ffd3e92ebdcd5c5e6ce51f /app/utils | |
parent | 9ce8f0ef97d06750c323785828620becf375058f (diff) |
adding stuff from live server
Diffstat (limited to 'app/utils')
-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 9f76608..f4a7a4a 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.oldtags.all().order_by('name'): + for t in self.model_to_use.tags.all().order_by('name'): tl += (t.name, t.name), return tl |