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):
9 for k, v in tags.items():
10 if isinstance(v, list):
14 return {"tags": new_tags, "table": table}
17 @register.inclusion_tag('archive/tags/tags_table.html')
18 def tags_table(tags, table=True):