def make_model_tuple(model):
    if isinstance(model, tuple):
        model_tuple = model
    elif isinstance(model, six.string_types):
        app_label, model_name = model.split(".")
        model_tuple = app_label, model_name.lower()
    else:
        model_tuple = model._meta.app_label, model._meta.model_name
    assert len(model_tuple) == 2, "Invalid model representation: %s" % model
    return model_tuple
Returns default SubnetRequestFactory
dataset/ETHPy150Open django/django/django/db/models/utils.py/make_model_tuple--crossover with--dataset/ETHPy150Open openstack/neutron/neutron/ipam/driver.py/Pool.get_subnet_request_factory