Tri-form

Latest version: v5.0.2

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

Scan your dependencies

Page 5 of 7

3.3.0

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

* bugfixes

3.2.0

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

* default_help_text should not blow up on invalid references

* Removed some dead code

3.1.0

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

* Fixed confusing naming of Field.text to Field.textarea

* Support for ajax backend. New parameters to Field: endpoint_path and endpoint_dispatch. For now only implemented for Field.choice_queryset and tailored for select2. To use it: specify template_name='tri_form/choice_select2.html'.

3.0.0

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

* Parse modes introduced. This fixes validation of partially submitted forms, using tri.form for filters and other problems.

* Refactored to use tri.declarative dispatch

* Added __field__ endpoint handling. This is useful for e.g. loading choices with ajax instead of up front.

* Form.errors is now a set

* views.create_object/edit_object/create_or_edit_object now default parameter `render` to render_to_response instead of render_to_string. This is a potential braking change.

2.2.0

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

* Minor bugfix for fields-from-model handling of auto fields

2.1.0

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

* Fix broken blank field value on fields from django model when django model
blank setting is True.

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.