1 from django import template
3 register = template.Library()
5 @register.inclusion_tag('archive/tags/multiple_tags_table.html')
6 def multiple_tags_table(tags, table=True):
8 for k, v in tags.items():
9 if isinstance(v, list):
13 return {"tags": new_tags, "table": table}
16 @register.inclusion_tag('archive/tags/tags_table.html')
17 def tags_table(tags, table=True):