Closed rmk135 closed 8 years ago
class Model(models.DomainModel): int_field = fields.Int() class Collection(collections.Collection): def sum_of_int_fields(self): return sum(model.int_field for model in self)