Lines Matching refs:base_object
354 @returns a pivot iterator, which yields a tuple (base_object,
356 related object. all base_object instances come from base_objects_by_id.
387 base_object = base_objects_by_id[base_object_id]
388 yield base_object, related_object
459 base_objects_by_id = dict((base_object._get_pk_val(), base_object)
460 for base_object in base_objects)
464 for base_object in base_objects:
465 setattr(base_object, related_list_name, [])
467 for base_object, related_object in pivot_iterator:
468 getattr(base_object, related_list_name).append(related_object)