django-crispy-forms v1.5.0 Release Notes

  • 👍 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 {{ 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.