Changes between Initial Version and Version 1 of Ticket #29148
- Timestamp:
- Feb 21, 2018, 12:15:38 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29148
- Property Triage Stage Unreviewed → Accepted
- Property Summary Add filter().get_or_create() chaining to documentation to explain how to use get_or_create with Q objects → Explain how to use QuerySet.get_or_create() with Q objects
-
Ticket #29148 – Description
initial v1 12 12 13 13 > get_or_create() can be used with Q objects by chaining them together like so: 14 14 > 15 15 > An example 16 16 > 17 17 > When this is done, the logic performs as above, but matches are made according to the query in the Q object. 18 18