

def get_source_handler(self, model, source):
    ' Allow the nested Column source to be its own handler. '
    if isinstance(source, Column):
        return source
    modelfield = resolve_orm_path(model, source)
    column_class = get_column_for_modelfield(model)
    return column_class()

dataset/ETHPy150Open pivotal-energy-solutions/django-datatable-view/datatableview/columns.py CompoundColumn.get_source_handler/VarMisuse@43/80 `modelfield`->`model`