Commit c2d7a3dd authored by fred's avatar fred
Browse files

don't include unused tags

parent 84f09e2a
......@@ -371,7 +371,7 @@ def random_emissions(count=6):
@register.simple_tag
def get_tags():
return Tag.objects.all()
return Tag.objects.exclude(taggit_taggeditem_items__isnull=True)
@register.inclusion_tag('includes/topik.html', takes_context=True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment