Changes between Initial Version and Version 1 of Ticket #32554


Ignore:
Timestamp:
Mar 15, 2021, 7:19:26 PM (3 years ago)
Author:
jonathan-golorry
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32554

    • Property Has patch set
    • Property Needs documentation set
    • Property Owner changed from nobody to jonathan-golorry
    • Property Status newassigned
  • Ticket #32554 – Description

    initial v1  
    33`Q.any()` and `Q.all()` mimic python's builtin `any` and `all`, defaulting to `Q.FALSE` and `Q.TRUE` for empty iterators (or iterators containing only empty Q objects).
    44
     5Patch: https://github.com/django/django/pull/14131
     6
    57See this forum thread discussing why these are an improvement over many ad-hoc implementations people are using: https://forum.djangoproject.com/t/improving-q-objects-with-true-false-and-none/851
    68
Back to Top