From 5cff7360cb202e1be049f181e11dab22b1e88d0c Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Wed, 28 Dec 2005 23:11:07 +0000 Subject: [PATCH] Fixed #1131 -- Added repr() to MultiValueDict. Thanks, Simon git-svn-id: http://code.djangoproject.com/svn/django/trunk@1789 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/utils/datastructures.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/django/utils/datastructures.py b/django/utils/datastructures.py index 81e4b30f6e..2b98117fda 100644 --- a/django/utils/datastructures.py +++ b/django/utils/datastructures.py @@ -63,6 +63,9 @@ class MultiValueDict(dict): def __init__(self, key_to_list_mapping=()): dict.__init__(self, key_to_list_mapping) + def __repr__(self): + return "" % dict.__repr__(self) + def __getitem__(self, key): """ Returns the last data value for this key, or [] if it's an empty list;