Datasets:
File size: 210 Bytes
907001b | 1 2 3 4 5 | def get_templates(model):
"""pass"""
for template_name, template in templates.items():
if issubclass(template.model, model):
yield (template_name, template.layout._meta.verbose_name) |