Home
last modified time | relevance | path

Searched refs:related_model (Results 1 – 1 of 1) sorted by relevance

/external/autotest/frontend/afe/
Dmodel_logic.py317 def determine_relationship(self, related_model): argument
328 for field in related_model._meta.fields:
333 for field in related_model._meta.many_to_many:
339 if self._is_relation_to(field, related_model):
343 (related_model, self.model))
346 def _get_pivot_iterator(self, base_objects_by_id, related_model): argument
357 relationship_type, field = self.determine_relationship(related_model)
360 related_model, field)
363 base_objects_by_id, related_model, field.m2m_db_table(),
368 base_objects_by_id, related_model, field.m2m_db_table(),
[all …]