Changes between Initial Version and Version 1 of Ticket #27332, comment 12
- Timestamp:
- Nov 11, 2016, 12:03:45 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27332, comment 12
initial v1 3 3 Some considerations: 4 4 - In general the ORM API tries to avoid SQL specific terms like join. Maybe relation would be a better term to use? 5 - The API shouldn't edit the current relation, instead it should add a new lookup path alias. So: .filtered_relation('translations', alias='translation_fi', condition=Q(translations__lang='fi')).filter(translation_fi__title=...)5 - The API shouldn't edit the current relation, instead it should add a new lookup path alias. So: `.filtered_relation('translations', alias='translation_fi', condition=Q(translations__lang='fi')).filter(translation_fi__title=...)`