Home
last modified time | relevance | path

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

/external/autotest/frontend/afe/
Dmodel_logic.py330 def determine_relationship(self, related_model): argument
341 for field in related_model._meta.fields:
346 for field in related_model._meta.many_to_many:
352 if self._is_relation_to(field, related_model):
356 (related_model, self.model))
359 def _get_pivot_iterator(self, base_objects_by_id, related_model): argument
370 relationship_type, field = self.determine_relationship(related_model)
373 related_model, field)
376 base_objects_by_id, related_model, field.m2m_db_table(),
381 base_objects_by_id, related_model, field.m2m_db_table(),
[all …]