#3212: [patch] Client.post() doesn't support multiple values for form values
-----------------------------------------------+----------------------------
Reporter: ben <[EMAIL PROTECTED]> | Owner: adrian
Type: defect | Status: new
Priority: normal | Milestone:
Component: Admin interface | Version:
Severity: normal | Keywords:
-----------------------------------------------+----------------------------
Client.post doesn't support multi-valued form values. This makes it hard
to use with MultipleChoiceField objects. Here's a patch that lets you
accomplish that by using lists or tuples in Client.post(), for example:
c = django.test.client.Client()
c.post("/myurl/", {'foo': [1,2,3]})
--
Ticket URL: <http://code.djangoproject.com/ticket/3212>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django
updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---