Issue #59: MultipleField._is_select returns false if data is None
Field order could be lost
Supply a Flask JSON Encoder
…o that it is backwards compatible
- Use range instead of xrange (no too much data anyway, so no performance problem - UTF-8-decode response data
A lot of WTForms-related tests fail though.
If "only" or "exclude" was used, the field order could be lost.
Currently, ModelSelectField Multiple returns Error if field exists but has None value This occur when creating a new item, as the object has not been created on page load. Modified to, QuerySetSelectMultipleField._is_select returns False when the items data selected from is None. Added Test, test_forms .WTFormsAppTestCase .test_modelselectfield_multiple_initalvalue_None