Ticket #3212: multi-form-values.diff
File multi-form-values.diff, 660 bytes (added by , 18 years ago) |
---|
-
django/test/client.py
62 62 '', 63 63 value.read() 64 64 ]) 65 elif isinstance(value, list) or isinstance(value, tuple): 66 for item in value: 67 lines.extend([ 68 '--' + boundary, 69 'Content-Disposition: form-data; name="%s"' % key, 70 '', 71 str(item) 72 ]) 65 73 else: 66 74 lines.extend([ 67 75 '--' + boundary,