Trees | Indices | Help |
|
---|
|
UserDict.UserDict --+ | FormContentDict --+ | SvFormContentDict
Form content as dictionary expecting a single value per field.
If you only expect a single value for each field, then form[key] will return that single value. It will raise an IndexError if that expectation is not true. If you expect a field to have possible multiple values, than you can use form.getlist(key) to get all of the values. values() and items() are a compromise: they return single strings where there is a single value, and lists of strings otherwise.
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|
|
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0 on Tue Jan 29 22:42:33 2008 | http://epydoc.sourceforge.net |