Changes between Initial Version and Version 1 of Ticket #32548
- Timestamp:
- Mar 14, 2021, 4:30:24 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32548
- Property Has patch set
-
Ticket #32548 – Description
initial v1 21 21 }}} 22 22 23 I'll add a patch thatremoves the special case, meaning single-child Q objects deconstruct into args instead of kwargs. A more backward-compatible approach would be to keep the special case and explicitly check that the child is a length-2 tuple, but it's unlikely that anyone is relying on this undocumented behavior.23 Patch https://github.com/django/django/pull/14126 removes the special case, meaning single-child Q objects deconstruct into args instead of kwargs. A more backward-compatible approach would be to keep the special case and explicitly check that the child is a length-2 tuple, but it's unlikely that anyone is relying on this undocumented behavior.