mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #7331 -- Made QueryDict.iteritems behave like QueryDict.items, thanks jurev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -42,6 +42,8 @@ MergeDict can merge MultiValueDicts
|
||||
'Simon'
|
||||
>>> d.getlist('name')
|
||||
['Adrian', 'Simon']
|
||||
>>> list(d.iteritems())
|
||||
[('position', 'Developer'), ('name', 'Simon')]
|
||||
>>> d['lastname']
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user