

def get_ctype_id_for_obj(self, obj):
    app_label = obj._meta.app_label
    module_name = obj._meta.model_name
    return self.ctypes[('%s.%s' % (app_label, module_name))]

dataset/ETHPy150Open fcurella/django-recommends/recommends/managers.py CachedContentTypesMixin.get_ctype_id_for_obj/original