

def deferred_class_factory(model, attrs):
    '\n    Returns a class object that is a copy of "model" with the specified "attrs"\n    being replaced with DeferredAttribute objects. The "pk_value" ties the\n    deferred attributes to a particular instance of the model.\n    '

    class Meta():
        proxy = True
        app_label = model._meta.app_label
    name = ('%s_Deferred_%s' % (model.__name__, '_'.join(sorted(list(attrs)))))
    name = util.truncate_name(name, 80, 32)
    overrides = dict([(attr, DeferredAttribute(attr, model)) for attr in attrs])
    overrides['Meta'] = Meta
    overrides['__module__'] = model.__module__
    overrides['_deferred'] = True
    return type(name, (proxy,), overrides)

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/db/models/query_utils.py deferred_class_factory/VarMisuse@124/233 `model`->`proxy`