

def suggestion_for_object(self, user, object_recommended, object_site):
    object_ctype_id = self.get_ctype_id_for_obj(object_recommended)
    object_id = object_recommended.id
    return dict(object_ctype=object_ctype_id, object_id=object_id, object_site=object_site.id, user=user.id)

dataset/ETHPy150Open fcurella/django-recommends/recommends/managers.py DictStorageManager.suggestion_for_object/original