Django-crispy-forms

Latest version: v2.3

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

Scan your dependencies

Page 5 of 11

1.6.0

* Fixed compatibility with Django 1.9
* Dropped support for Django 1.7
* Added Bootstrap 4 template pack
* Other small fixes.

See [1.6.0 Milestone](https://github.com/maraujop/django-crispy-forms/issues?q=milestone%3A1.6.0+is%3Aclosed) for full issue list.

1.5.2

* Fix: KeyError: u'wrapper_class' when clearing template context. 511, 512
* Fix: Alignment of stacked checkboxes and radio buttons in Bootstrap 3 358

See [1.5.2 Milestone](https://github.com/maraujop/django-crispy-forms/issues?utf8=✓&q=milestone%3A1.5.2+) for full issue list.

1.5.1

Special thanks in this release to Dmitry Dygalo Stranger6667 for a marathon effort updating the
test suite and code base.

* Switched to py.test. Modernised test suite. Enabled tox, code coverage and Travis for all
supported Python/Django versions. [See list of Merged "Testing/Process" PRs here](https://github.com/maraujop/django-crispy-forms/pulls?q=is%3Apr+is%3Amerged+milestone%3A1.5.1+label%3ATesting%2FProcess)
* Added compatibility with Python 3.2
* Fix: Allow LayoutObject & BaseInputs to accept custom template 493

1.5.0

Special thanks in this release for all the **<a href="http://flattr.com/thing/512037/django-crispy-forms">supporters and donators</a>**.

* Fixed compatibility with: Python 3, Django 1.7, Django 1.8 and Django 1.4.16. Merged PR 417, but thanks to PRs 369, 368 and 310. Closes also 383.
* Updated test suite for compatibility with all supported Django versions 1.4, 1.7, 1.8 and run CI against these and Django `master`. See 451, 455.
* Bug fix for specifying `template_pack` in `{% crispy %}` tag, `bootstrap3` couldn't be set that way.
* New doc section for creating custom template packs.
* Fixed Bootstrap3 checkbox alignment issues with label texts, see 275.
* First `AccordionGroup` can now be set to `active=False`, see 246.
* Fixed Bootstrap3 checkbox alignment issues for all device sizes, see 225 and 267.
* All forms are now rendered with {{ form.media }}, this makes forms containing widgets with `Media` meta class work, see 263.
* Adjusted `{% specialspaceless %}` to avoid breaking intended spaces and be less aggressive, see 250.
* Fixed inputs rendering for bootstrap3 and redo `FormActions` layout object bootstrap3 template for correct alignment, see 279.
* `MultiField` now obeys `form_show_labels`, see 278.
* Added `wrapper_class` to `bootstrap.InlineRadios`, see 272.
* Render label for checkboxes within `table_inline_formset.html`, see 262.
* Removed deprecated layout object `AppendedPrependedText`, replaced by `PrependedAppendedText`.
* Fixed `PrependedAppendedText` when rendering a select widget, in bootstrap and bootstrap3 template packs, see 258.
* Added support to `{% crispy_addon %}` tag for `form_show_labels`, see 256.
* Major cleanup and refactor of the template pack system thanks to tepez, see 217 and 237:
- Template packs are now self contained/independent, removing dangerous cross references. If you have a custom template pack this can cause backwards incompatibility, but it will pay in the future to adjust to this changes.
- `MultiField` cannot be used with `bootstrap` or `bootstrap3` template packs.
- Added `template_pack` `FormHelper` attribute, so that template packs can be specified at form helper level. This changes layout objects `render` behavior.
* Default template pack is now `bootstrap3`.
* Make `CRISPY_TEMPLATE_PACK` setting optional, see 237 and 244.

1.4.0

Special thanks in this release to **James Friedman <a href="https://github.com/jamesmfriedman">jamesmfriedman</a>**, for his amazing support in PR #213, adding initial Bootstrap 3 support.

* Bootstrap 3 inline forms support and docs for inline forms with Bootstrap 3, see 233.
* `update_attributes` can now work with a field name, see docs.
* Adjusted unicode checkings for Python 3, see 231.
* Adjusted how bootstrap `Tab` layout object attributes are applied to make sense, see 228.
* Major refactor of testing suite architecture, breaking huge `tests.py` file into several and also splitting tests for different template packs into different tests cases, runners for template packs updated.
* Added support for horizontal forms in bootstrap3, see 209.
* Fixed spaces missing when rendering several submit inputs continued, see 211.
* Fixed checkboxes and radios for Bootstrap3, adjusted multiple inline radios and checkboxes, see 225.
* Update accordion markup for bootstrap3 compatibility, see 229.
* Moved `UneditableField` to bootstrap module, place where it should live, no backwards compatible import left behind.
* Added `bootstrap3` template pack thanks to James Friedman, see 213 and 209.
* `RadioSelect` and `CheckboxSelectMultiple` widget values and texts were being localized, when they shouldn't bee, see 214.
* If Django widget attrs where set for `RadioSelect` or `CheckboxSelectMultiple` they were not being rendered by crispy-forms, see 206.
* `form_show_labels` wasn't working correctly with some layout objects, see 193.

1.3.2

* Labels were not being rendered with `|crispy` filter, see 202.

Page 5 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.