Tri.form

Latest version: v7.5.0

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

Scan your dependencies

Page 3 of 13

6.0.1

~~~~~~~~~~~~~~~~~~

* Fixed cases where from_model lost the type when inheriting

6.0.0

~~~~~~~~~~~~~~~~~~

* Make `Field` shortcuts compatible with subclassing. Previous fix didn't work all the way.

* Use the new major tri.declarative, and update to follow the new style of class member shortcuts

* Major fixes to how `from_model` works. Subclassing `Form` and `Field` now works like you'd expect. This is a breaking change.

* Removed `Field.comma_separated` shortcut. This was never used, and poorly tested.

5.4.0

~~~~~~~~~~~~~~~~~~

* Make `Field` shortcuts compatible with subclassing

5.3.1

~~~~~~~~~~~~~~~~~~

* Fix that Django's DoesNotExist events don't leak out of the field-validation code

5.3.0

~~~~~~~~~~~~~~~~~~

* If you subclass Form this custom class is now used properly in the `from_model` code paths

* `Form` now has a refinable attribute `field_class` which you should use to point to your `Field` subclass if you have one. This is best accomplished in the `Meta` class on the class inheriting from `Form`.

* Added `Form.create_or_edit_object` that will respect your subclass if you have one.

5.2.2

~~~~~~~~~~~~~~~~~~

* Fixed escaping bug introduced in 5.2.0: You could get a KeyError crash if you had `{` and `}` in attributes.

Page 3 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.