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)

6465-1.diff (1.3 KB ) - added by Matt McClanahan 17 years ago.

Download all attachments as: .zip

Change History (4)

by Matt McClanahan, 17 years ago

Attachment: 6465-1.diff added

comment:1 by Matt McClanahan, 17 years ago

Has patch: set

comment:2 by Chris Beaven, 17 years ago

Triage Stage: UnreviewedReady for checkin

comment:3 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: newclosed

(In [7062]) Fixed #6465 -- Tweaked MergeDict.getlist() to work with Django's MultiValueDict class. Thanks, Matt McClanahan.

Note: See TracTickets for help on using tickets.
Back to Top