7 | | I propose to use binary operator `>>` for that purpose, so in Django `Q` we could write a `Q(field='x') >> Q(field_b__gt=0)` which in mine opinion looks much more readable and can encourage people to use more database level constratins in their projects. |
| 7 | I propose to use binary operator `>>` for that purpose, so in Django `Q` we could write a `Q(field='x') >> Q(field_b__gt=0)` which in mine opinion looks much more readable and can encourage people to use more database level constratins in their projects |
| 8 | |
| 9 | I have provided a patch with this functionality: https://github.com/django/django/pull/11978 |
| 10 | If this will be accepted I will add documentation to it. |