Using map() on a _set in a template?
- by Stuart Grimshaw
I have two models like this:
class KPI(models.Model):
"""KPI model to hold the basic info on a Key Performance Indicator"""
title = models.CharField(blank=False, max_length=100)
description = models.TextField(blank=True)
target = models.FloatField(blank=False, null=False)
group = models.ForeignKey(KpiGroup)
subGroup =…