Opened 17 years ago
Closed 17 years ago
#6465 closed (fixed)
MergeDict only calls getlist on its first merged dict
Reported by: | Matt McClanahan | Owned by: | nobody |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | Keywords: | multivaluedict mergedict | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Since MultiValueDict.getlist doesn't raise a KeyError, MergeDict.getlist will only call getlist() on its first dict. This results in request.REQUEST being unable to retrieve a list of values from request.GET.
Attachments (1)
Change History (4)
by , 17 years ago
Attachment: | 6465-1.diff added |
---|
comment:1 by , 17 years ago
Has patch: | set |
---|
comment:2 by , 17 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:3 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [7062]) Fixed #6465 -- Tweaked MergeDict.getlist() to work with Django's MultiValueDict class. Thanks, Matt McClanahan.