Hello everyone,

I have a page with a bunch of select boxes with the same name
("selected") and different values so that they are sent as a list to
the view.  I can't figure how to test multiple selections with
django.test.client.Client however.  This works for a single value:

self.client.post('/foo/', {'selected': '1'})

However, if I want more than one selected boxes, using a list doesn't
work, it simply returns an empty list.  Is it possible to do with
Client or should I open a ticket and start working on a patch?

Vincent


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to