Changes between Initial Version and Version 1 of Ticket #27332, comment 12


Ignore:
Timestamp:
Nov 11, 2016, 12:03:45 PM (7 years ago)
Author:
Tim Graham

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27332, comment 12

    initial v1  
    33Some considerations:
    44  - 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=...)`
Back to Top