Source

django-composition / composition / shortcuts / attributes_aggregation.py

Full commit
1
2
3
4
5
6
7
from composition.base import CompositionField

class AttributesAggregationField(CompositionField):
    def __init__(self, field, do, native=None):
        self.field = field
        self.do = do
        self.native = native