initial pass on migrating to custom tag model with color and comments fields

This commit is contained in:
John Anderson
2019-02-20 03:52:47 -05:00
parent e7f9374ddf
commit c679dd4ff8
32 changed files with 524 additions and 63 deletions

View File

@@ -157,7 +157,7 @@ class ObjectListView(View):
# Construct queryset for tags list
if hasattr(model, 'tags'):
tags = model.tags.annotate(count=Count('taggit_taggeditem_items')).order_by('name')
tags = model.tags.annotate(count=Count('extras_taggeditem_items')).order_by('name')
else:
tags = None