#2441 closed enhancement (fixed)
[patch] Allow MultiValueDict update method to take keyword args, like dict
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In Python 2.4 the builtin dict.update method can accept keyword args. This is a small update to MultiValueKey.update to also optionally accept keywork arguments. Also, like the python dict implementation, this allows both a dictionary (or MultiValueDict) alongside keyword arguments.
Attachments (1)
Change History (3)
Changed 17 years ago by
Attachment: | multivalueupdate.diff added |
---|
comment:1 Changed 17 years ago by
Summary: | [patch] Allow MultiValueKey update method to take keyword args, like dict → [patch] Allow MultiValueDict update method to take keyword args, like dict |
---|
last_post.replace("MultiValueKey", "MultiValueDict")
comment:2 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Patch for MultiValueDict.update