Opened 2 months ago
Last modified 2 weeks ago
#36649 assigned New feature
Add `|=` merge operator support to `MultiValueDict` and `QueryDict`. — at Initial Version
| Reported by: | Adam Johnson | Owned by: | Adam Johnson |
|---|---|---|---|
| Component: | HTTP handling | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | yes |
| Easy pickings: | no | UI/UX: | no |
Description
Per forum discussion, add an __ior__ method to these classes to make |= work, guarding for mutability in QueryDict.
Note:
See TracTickets
for help on using tickets.