Home
last modified time | relevance | path

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

/external/autotest/frontend/afe/
Dmodel_logic.py320 def determine_relationship(self, related_model): argument
331 for field in related_model._meta.fields:
336 for field in related_model._meta.many_to_many:
342 if self._is_relation_to(field, related_model):
346 (related_model, self.model))
349 def _get_pivot_iterator(self, base_objects_by_id, related_model): argument
360 relationship_type, field = self.determine_relationship(related_model)
363 related_model, field)
366 base_objects_by_id, related_model, field.m2m_db_table(),
371 base_objects_by_id, related_model, field.m2m_db_table(),
[all …]