All Versions
Latest Version
Avg Release Cycle
130 days
Latest Release

Changelog History
Page 3

  • v1.5.0 Changes

    ๐Ÿ‘ Special thanks in this release for all the supporters and donators.

    • 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 {{ }}, 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.
  • v1.4.0 Changes

    Special thanks in this release to James Friedman @jamesmfriedman, 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 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.
  • v1.3.2 Changes

    • Labels were not being rendered with |crispy filter, see #202.
  • v1.3.1 Changes

    • Fix default value for form_show_labels in case FormHelper doesn't define it, see #199.
    • Added a backported version of override_settings for testing django 1.3.7 and adding it to Travis-ci matrix.
  • v1.3.0 Changes

    Special thanks in this release to Charlie Denton @meshy, for his amazing support in PRs #189 and #190, long due.

    • Deprecated Tab and TabHolder imports from module, they now live in module.
    • Removed Python 2.5 compatibility.
    • Added disable_csrf helper attribute, see docs.
    • Travis-ci support thanks to Charlie Denton, see #190.
    • Python 3 compatibility thanks to Charlie Denton, see #189 and #190.
    • Added a settings variable named CRISPY_ALLOWED_TEMPLATE_PACKS for adding easily support for new template packs, see #192.
    • Added {% crispy_addon %} tag, see #195.
    • Make CRISPY_TEMPLATE_PACK optional for tests
    • Make tests run the same exactly way with and test, see #183.
    • Bug fix for wrap_together when using it with partial slices.
    • Fixes for KeepContext context manager, see #180.
    • Added FormHelper.field_template attribute, for easily override field template for a specific form/formset, see docs.
    • Added a template for rendering formsets inline within tables named bootstrap/table_inline_formset.html, that can be easily used in conjunction with FormHelper.template.
    • Added FormHelper.template attribute, that easily allows to override form/formset general structure template, see docs.
    • Added form_show_labels helper attribute.
    • Redoing filters to use isinstance instead of hacky internal name checking, this way subclasses of standard fields will work out of the box with crispy-forms, see #176.
  • v1.2.8 Changes

    • Bug fix for KeepContext context manager, when crispy-forms used with Jingo/Jinja2 templates, see #179.
    • Some formset tests were breaking in some Django versions. Also added a make test for easily running project tests, see #178.
  • v1.2.7 Changes

    • Bug fix for model formsets and inline formsets, when being rendered with a FormHelper with a layout set, where some hidden formset management fields would be missing, breaking saving to database.
    • Added render_hidden_fields attribute to FormHelper, see docs.
    • Added render_hidden_fields attribute to FormHelper, see docs.
  • v1.2.6 Changes

    • Fixes to Container and TabHolder, affecting class variable helpers with layouts containing TabHolder or AccordionGroup objects, see #172.
    • Bug fix for KeepContext context manager, see #172.
  • v1.2.5 Changes

    • Avoid raising Exceptions in |as_crispy_field filter when not in DEBUG mode.
    • Popping css_id to avoid having a css-id attribute, see #167.
    • Fixed a bug in dynamic layout API, when wrapping layout objects that had arguments passed after fields. Moving LayoutSlice to layout_slice module.
    • Fixed test failing when tests runned from test.
    • Fixed testing name conflict, see #130.
  • v1.2.4 Changes

    • Added wrapper_class kwarg to Field layout object, see #163.
    • Added Accordion and AccordionGroup bootstrap layout objects, see #162.
    • Bug fix in render_crispy_form to avoid override existing context, see #153.
    • Use formset iterator instead of forms list attribute, see #152.
    • Don't display fieldset legend if empty, see #147 and #155.
    • Bug fix for pickling crispy forms by powderflask, see #107.
    • Switched from django.form.utils.flatatt to internal flatatt utils implementation, this allows adding data-attrs to FormActions and StrictButton.
    • render_field now uses a context manager to avoid side effects when layout objects update template context. This makes context mutability safe within layout objects.
    • Added greedy kwarg to filter dynamic API.
    • Fixing error logging on |as_crispy_field filter, see #135.
    • Implemented __delitem__, __len__ and __setitem__ in LayoutObject and DynamicLayoutHandler, this avoids pylint warnings, see #114.
    • Docs folder no longer included when installing crispy-forms, see #132.
    • Added wrap_once, update_attributes, map and pre_map to LayoutSlice.