Django-crispy-forms

Latest version: v2.3

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

Scan your dependencies

Page 8 of 11

1.1.3

Not secure
* `|crispy` and `|as_crispy_field` filters were not rendering errors. Thanks to ximi for reporting it and submitting a patch. See issue GH-28.
* Fixing a test that was breaking when language was not English. Thanks to gaftech, see GH-30.
* Fixing `radioselect.html` and `checkboxselectmultiple.html` templates. Thanks to Christopher Petrilli for submitting a patch for `radioselect`. See issue GH-35.
* HTML attributes can now be set in `BaseInput` subclasses like `Button` by jamesmfriedman. See GH-32.
* Fix for dynamic crispy-forms with Meta classes by Jeroen Vloothuis. See GH-37.
* Labels now use `id_for_label` instead of `auto_id` to avoid ids breaking on multiwidgets. by Daniel Izquierdo. See GH-38.
* Adding a flatatt custom function in `utils.py` for flatting extra HTML attributes.
* HTML attributes can now be set in `Div` layout object.
* Adding tests for new functionality and bugs.

1.1.2

Not secure
* input name attribute is no longer slugified if only one word is provided, respecting caps.
* Changes in bootstrap global error templates by David Bennett.
* Added class `control-label` to labels, for horizontal layout thanks to bitrut.
* Using `{{ field.html_name }}` instead of `{{ field.name }}` in field templates, so that they work with form prefixes (formwizard) by Patrick Toal.
* Fixing error rendering in bootstrap AppendedText and PrependedText.
* Applying `field.css_classes` in bootstrap `field.html` instead of widget classes.
* Fixes for bootstrap simple checkbox input to be wrapped correctly.

1.1.1

Not secure
* Fixing a critical bug in bootstrap templates, that was breaking `{% load crispy_forms_tags %}`

1.1.0

* Fixing produced html by a checkbox field, closing label the right way and rendering checkbox in the right place.
* Passing full context to field rendering, to be consistent and having access in `field.html` template to helper attributes.
* Custom helper attributes can now be set and will be part of templates context, this way you can define custom specific behavior.
* Adding kennethlove bootstrap template pack into django-crispy-forms core.
* Adding `CRISPY_TEMPLATE_PACK` setting variable to easily switch between different template packs. Default template pack is now bootstrap.
* Upgrading bootstrap templates, fixing some bugs and redoing the hierarchy.
* Upgrading tests for multiple template packs.
* Renaming `UNIFORM_FAIL_SILENTLY` setting variable to `CRISPY_FAIL_SILENTLY`, upgrading migration instructions.
* Redoing bootstrap `field.html` template to render `radioselect` and `checkboxselectmultiple` Django widgets a la bootstrap.
* Adding a `render_unmentioned_fields` helper attribute, that renders all fields in a form, no matter what the layout is. Default is `False`.
* Adding a `|css_class` filter that renders field classes in an elegant way.
* Turning `|with_class` filter into `{% crispy_field %}` tag, so that parameters for rendering the field can be passed.
* Adding a `help_text_inline` helper attribute, that controls whether to render help texts in bootstrap with "help-inline" or "help-block".
* Adding a `flat_attrs` variable to the context passed to `field.html` to be able to do all kind of html attributes when rendering a field, using `Field` layout object.
* Adding a `template` kwarg to `Field` layout object that allows to override template used for rendering a field.
* Adding a `bootstrap.py` module that holds bootstrap specific layout objects, for higher bootstrap integration.
* Adding a `AppendedText`, `PrependedText` and `FormActions` bootstrap layout objects. First two based in polyvalent `Field` layout object.

1.0.3

------------------

* Fixed stray closing divs in template files (second try 😅)

Contributed by [Ronny V.](https://github.com/GitRon) via [PR #162](https://github.com/django-crispy-forms/crispy-tailwind/pull/162/)

1.0.2

------------------

* Fixed stray closing divs in template files

Contributed by [Ronny V.](https://github.com/GitRon) via [PR #160](https://github.com/django-crispy-forms/crispy-tailwind/pull/160/)

Page 8 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.