Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update django-floppyforms to 1.7.0 #22

Closed

Conversation

pyup-bot
Copy link
Collaborator

There's a new version of django-floppyforms available.
You are currently using 1.3.0. I have updated it to 1.7.0

These links might come in handy: PyPI | Changelog | Repo

Changelog

1.7.0

  • 171_: Fix path to GIS widget images in openlayers.html template. The
    files coming with Django admin where used, but the naming changed in 1.9. We
    vendor these know to have better control over it.
  • 174: Support for setting your own Google Maps key in the
    BaseGMapWidget. See the documentation <http://django-floppyforms.readthedocs.io/en/latest/geodjango.html>
    for
    details

.. _171: jazzband/django-floppyforms#171
.. _174: jazzband/django-floppyforms#174

1.6.2

  • 169_: Use the attributes ClearableFileInput.initial_text,
    ClearableFileInput.input_text,
    ClearableFileInput.clear_checkbox_label to determine the used text in the
    template. This was inconsistent so far with Django's behaviour.

.. _169: jazzband/django-floppyforms#169

1.6.1

  • 167_: Fix django-floppyforms' CheckboxInput.value_from_datadict which
    was inconsistent with Django's behaviour.

.. _167: jazzband/django-floppyforms#167

1.6.0

  • 160_: Django 1.9 support! Thanks to Jonas Haag for the patch.

.. _160: jazzband/django-floppyforms#160

1.5.2

  • 156_: The min, max, step attributes for DecimalField and
    FloatField were localized which can result in invalid values (rendering
    0.01 as 0,01 in respective locales). Those attributes won't get
    localized anymore. Thanks to Yannick Chabbert for the fix.

.. _156: jazzband/django-floppyforms#156

1.5.1

  • FloatField`` now fills in ``min``, ``max``, and ``step`` attributes to match the behaviour of DecimalField`. Leaving out the step attribute would
    result in widgets that only allow integers to be filled in (HTML 5 default
    for ``step`` is ``1``).

1.5.0

  • 148_: Added support for custom label_suffix arguments in forms and fields.
  • The contents in floppyforms/input.html is now wrapped in a {% block content %} for easier extending.
  • 70_: `DecimalFieldnow fills inmin``, ``max``, and ``step`` attributes for
    better client side validation. Use the ``novalidate`` attribute on your
    ``<form>`` tag to disable HTML5 input validation in the browser. Thanks to
    caacree for the patch.

.. _148: jazzband/django-floppyforms#148
.. _70: jazzband/django-floppyforms#70

1.4.1

  • Fixed source distribution to include all files in
    floppyforms/static/floppyforms/openlayers.

1.4.0

  • Every widget is now using its own template. Previously all widgets that are
    based on the HTML &lt;input&gt; tag used the generic floppyforms/input.html
    template. Now the widgets each have a custom element for easier
    customisation. For example CheckboxInput now uses
    floppyforms/checkbox.html instead of floppyforms/input.html. See
    Widgets reference &lt;http://django-floppyforms.readthedocs.org/en/latest/widgets-reference.html&gt;_
    for a complete list of available widgets and which templates they use.
  • Adjusting the SRIDs used in the GeoDjango widgets to conform with
    Django 1.7. Thanks to Tyler Tipton for the patch.
  • Python 3.2 is now officially supported.
  • Django 1.8 is now officially supported. django-floppyforms no longers
    triggers Django deprecation warnings.
  • Adding OpenLayers_ distribution to django-floppyforms static files in order
    to better support HTTPS setups when GIS widgets are used (See 15 for more
    details).
  • Fix: python setup.py bdist_rpm failed because of wrong string encodings
    in setup.py. Thanks to Yuki Izumi for the fix.
  • Fix: The CheckboxInput widget did detect different values in Python 2
    when given &#39;False&#39; and u&#39;False&#39; as data. Thanks to artscoop for the
    patch.
  • Fix: MultipleChoiceField can now correctly be rendered as hidden field by
    using the as_hidden helper in the template. That was not working
    previously as there was no value set for MultipleChoiceField.hidden_widget.

.. _OpenLayers: http://openlayers.org/

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 馃

@gamealerts gamealerts closed this Jan 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants