It is a package for rendering HTML forms from a Schemaish schema.
It's main features are its granular components and its ability to create quite complex forms (including sequences, groups, sequences of groups, groups of sequences, etc).
It has a built in Mako templating library but should be straightforward to add other templating systems.
It also has strong support for file uploads with a default tempfile storage handler.
It uses schemaish for its schema, validatish for validation and convertish for type coercion.
What's New in This Release: [ read full changelog ]
· Updated documentation.
· Added better defaults for schema types.
· Updated JQuery in testish.
· RadioChoice no longer emits a none_option by default.
· Overhauled the missing/empty strategies In order to allow a user to represent both an empty string and a None value at the same time, a few updates had to be made to how the widgets worked. Hopefully most of these will be backward comptaible but we can't assure this without a lot of checking. We now have a none_value attribute which represents the value that is shown to a user to represent None. We also have the old empty attribute which is used if the widget produces data which matches the none_value. Have a look in testish for InputNoneValue for an example and also InputDateNoneValue. Another example is SelectChoiceWithEmptyString which shows how to allow both '' and None to be selected.