

def _get_model(model):
    m = get_model(*model.split('.'))
    if (m is None):
        raise TemplateSyntaxError(('Generic content tag got invalid model: %s' % m))
    return m

dataset/ETHPy150Open justquick/django-native-tags/native_tags/contrib/generic_content.py _get_model/VarMisuse@38/61 `model`->`m`