Formish

Latest version: v0.9.1

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

0.9.0alpha

-----------

* 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.

0.8.8

-----

BUGFIX: error introduced in _get_error function

0.8.7

-----

* Added support for schemaish's default property. Forms use the defaults from
the schema if no explcit ones are passed

0.8.6

-----

BUGFIX: too many error classes in the form tag if multiple validation errors

0.8.5

-----

* required marker to templates
* 'allow_remove' flag on fileupload tempalte

BUGFIX: contains_errors should not fire if the container has an error
BUGFIX: problem with text area sequences not showing errors
BUGFIX: name error in classes_from_vars

0.8.4

------

BUGFIX: Sequences represented as textareas were not showing contained errors
(although they were failing validation). Fields and Collections
now have 'contains_error' and 'contained_errors' properties.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.