Django-fobi

Latest version: v0.19.9

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

Scan your dependencies

Page 29 of 32

0.4.4

-----
2014-12-06

- Documentation improvements.
- Updated Dutch and Russian translations.
- Minor fixes related to lazy translations.

0.4.3

-----
2014-12-05

- Make sure values of form elements declared not to have a value (``has_value``
property is set to False) aren't being saved in the ``db_store`` plugin.
- Apply that to the ``honeypot`` and ``captcha`` plugins.

0.4.2

-----
2014-12-04

- Helper script (management command) in order to migrate django-fobi==0.3.*
data to django-fobi==0.4.* data (caused by renaming the ``birthday`` field
to ``date_drop_down`` - see the release notes of 0.4 below). Follow the steps
precisely in order to painlessly upgrade your django-fobi==0.3.* to
django-fobi==0.4.*:

1. Install django-fobi>=0.4.2:

.. code-block:: sh

pip install django-fobi>=0.4.2

2. In your settings change the:

.. code-block:: python

'fobi.contrib.plugins.form_elements.fields.birthday'

to:

.. code-block:: python

'fobi.contrib.plugins.form_elements.fields.date_drop_down'

3. Run the ``migrate_03_to_04`` management command. Note, that as of version
0.4.24, the `migrate_03_to_04` command has been renamed to
`fobi_migrate_03_to_04`.:

.. code-block:: sh

./manage.py migrate_03_to_04

0.4.1

-----
2014-12-04

- Fixes in Foundation5 and Simple themes related to the changes in error
validation/handling of hidden fields.

0.4

---
2014-12-03

.. note::

Note, that this release contains minor backwards incompatible changes. The
changes may affect your existing forms and data. Read the notes below
carefully (UPDATE 2014-12-04: the django-fobi==0.4.2 contains a management
command which makes the necessary changes in the database for safe upgrade).

- The ``captcha`` field has been moved from
``fobi.contrib.plugins.form_elements.fields.captcha`` to
``fobi.contrib.plugins.form_elements.security.captcha``. Make sure to update
the package paths in ``INSTALLED_APPS`` of your projects' settings module
(settings.py) when upgrading to this version.
- The ``honeypot`` field has been added.
- The ``birthday`` field has been renamed to ``date_drop_down`` (A real
``birthday`` field is still to come in later releases). The change causes
backwards incompatibility issues if you have used that ``birthday`` field.
If you haven't - you have nothing to worry. If you have been using it,
grab the 0.3.4 version, copy the
``fobi.contrib.plugins.form_elements.fields.date_drop_down`` package to
your project apps, make necessary path changes and update the package paths
in ``INSTALLED_APPS`` settings module (settings.py) before upgrading to this
version. Then, in Django admin management interface, replace all the
occurrences of ``Birthday`` field with ``Date drop down`` field.
- Better error validation/handling of hidden fields. A new form snippet
template added for displaying the non-field and hidden fields errors. The new
template makes a part of a standard theme as an attribute
``form_non_field_and_hidden_errors_snippet_template``.
- Minor fixes in generic templates.
- An additional property ``is_hidden`` added to the hidden form elements. Those
form elements would be getting a default TextInput widget in the edit mode
instead of the widget they come from by default. It's possible to provide an
alternative widget for the edit mode as well. Default value of the
``is_hidden`` is set to False.

0.3.4

-----
2014-11-23

- New settings ``FOBI_FAIL_ON_ERRORS_IN_FORM_ELEMENT_PLUGINS`` and
``FOBI_FAIL_ON_ERRORS_IN_FORM_HANDLER_PLUGINS`` introduced. They do as
their name tells. Default value for both is False.
- Fixed exceptions raised when unicode characters were used as form names.
- Fixed exceptions raised when unicode characters were used as field labels.
- Fixes in the `db_store` and `mail` plugins related to usage of unicode
characters.

Page 29 of 32

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.