

def _get_flat_db_sources(self, model):
    ' Return a flattened representation of the individual ``sources`` lists. '
    sources = []
    for source in self.sources:
        for sub_source in target_field.expand_source(source):
            target_field = self.resolve_source(model, sub_source)
            if target_field:
                sources.append(sub_source)
    return sources

dataset/ETHPy150Open pivotal-energy-solutions/django-datatable-view/datatableview/columns.py CompoundColumn._get_flat_db_sources/VarMisuse@31/63 `self`->`target_field`