0.5.3 - 2024-05-15
- Classes specified in error_css_class and required_css_class are added to the field regardless of whether the context variable css_classes is overridden.
0.5.2 - 2024-01-04
- Now, widgets set through the
Composer.widgets
attribute receive the correct values foris_required
andis_localized
. Additionally, attributes added by theforms.Field.build_attrs()
method are included.
0.5.1 - 2024-01-03
- Now you can set the
error_css_class
andrequired_css_class
using Composer.
0.5.0 - 2024-01-02
BaseComposer
is now available at the pathpaper_forms.composer.BaseComposer
.- The
Bootsrap4Composer
was removed.
0.4.0 - 2024-01-01
- The library was completely rewritten.
- Dropped support for Python below 3.9.
- Dropped support for Django below 3.2.
- Add tests against Django 5.0.
0.3.0 - 2023-11-27
- Introducing a new feature to customize form field contexts using the "" prefix
for template tag parameters. Now, parameters prefixed with "" are treated as template
context variables rather than widget attributes. Example:
In this example,
{% field "name" placeholder="Name" _style="light" %}
placeholder
signifies a widget attribute, whilestyle
denotes a template context variable.
- Add tests against Python 3.12.
0.2.2 - 2023-10-11
- You can now customize form field labels using the
{% field %}
template tag. Set your preferred label values like this:{% field form.name label="Your name" %}
0.2.1 - 2023-01-09
- Add Python 3.11 support (no code changes were needed, but now we test this release).
0.2.0 - 2022-01-12
- Support Python 3.10 and Django-4.0
- Dropped Python 3.6 and 3.7
0.1.0 - 2021-11-24
- Add support for Django-3.2
- Drop support for Django-1.11, Django-2.0, Django-2.1, Python-3.5
0.0.3 - 2021-03-16
- Add
PAPER_FORMS_DEFAULT_FORM_RENDERER
setting
0.0.2 - 2021-03-16
- Fix missing tempaltes
0.0.1 - 2021-03-15
- First release