Home
last modified time | relevance | path

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

/external/autotest/frontend/afe/
Dmodel_logic.py327 def determine_relationship(self, related_model): argument
338 for field in related_model._meta.fields:
343 for field in related_model._meta.many_to_many:
349 if self._is_relation_to(field, related_model):
353 (related_model, self.model))
356 def _get_pivot_iterator(self, base_objects_by_id, related_model): argument
367 relationship_type, field = self.determine_relationship(related_model)
370 related_model, field)
373 base_objects_by_id, related_model, field.m2m_db_table(),
378 base_objects_by_id, related_model, field.m2m_db_table(),
[all …]