Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Clarified documentation on submission of multiple selections using te…

…st client.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 6a7a15586009d2b81d907ef792cdf6cd955931dd 1 parent 2efd343
@freakboy3742 freakboy3742 authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 docs/testing.txt
6 docs/testing.txt
@@ -227,6 +227,12 @@ can be invoked on the ``Client`` instance.
The key-value pairs in the data dictionary will be encoded as a multipart
message and used to create the POST data payload.
+ To submit multiple values for a given key (for example, to specify
+ the selections for a multiple selection list), provide the values as a
+ list or tuple for the required key. For example, a data dictionary of
+ ``{'choices': ('a','b','d')}`` would submit three selected rows for the
+ field named ``choices``.
Submitting files is a special case. To POST a file, you need only
provide the file field name as a key, and a file handle to the file you wish to
upload as a value. The Test Client will populate the two POST fields (i.e.,

0 comments on commit 6a7a155

Please sign in to comment.
Something went wrong with that request. Please try again.