Changes between Initial Version and Version 1 of Ticket #29148


Ignore:
Timestamp:
Feb 21, 2018, 12:15:38 PM (7 years ago)
Author:
Tim Graham
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29148

    • Property Triage Stage UnreviewedAccepted
    • Property Summary Add filter().get_or_create() chaining to documentation to explain how to use get_or_create with Q objectsExplain how to use QuerySet.get_or_create() with Q objects
  • Ticket #29148 – Description

    initial v1  
    1212
    1313> get_or_create() can be used with Q objects by chaining them together like so:
    14 
     14>
    1515> An example
    16 
     16>
    1717> When this is done, the logic performs as above, but matches are made according to the query in the Q object.
    1818
Back to Top