Releases: barseghyanartur/django-fobi
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 thedb_store
plugin. - Apply that to the
honeypot
andcaptcha
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 thebirthday
field
todate_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.*:-
Install django-fobi>=0.4.2::
pip install django-fobi>=0.4.2
-
In your settings change the::
'fobi.contrib.plugins.form_elements.fields.birthday'
to::
'fobi.contrib.plugins.form_elements.fields.date_drop_down'
-
Run the
migrate_03_to_04
management command::./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, 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 inINSTALLED_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 todate_drop_down
(A real
birthday
field is still to come in later releases). The change causes
backwards incompatibility issues if you have used thatbirthday
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
inINSTALLED_APPS
settings module (settings.py) before upgrading to this
version. Then, in Django admin management interface, replace all the
occurances ofBirthday
field withDate drop down
field. - Nicer 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
andmail
plugins related to usage of unicode
characters.
0.3.3-2014-11-22
- Clean up the setup. Remove redundant dependencies.
- Documentation improvements.
0.3.2-2014-11-20
- DjangoCMS integration app made compatible with DjangoCMS 2.4.3.
0.3.1-2014-11-19
- DjangoCMS integration app.
0.3-2014-11-09
Note, that this release contains minor backwards incompatible changes. The
changed do not anyhow affect your existing forms or data. The only thing you
need to do is update the app paths in the settings
module of your project.
- Minor core improvements related to the themeing of the form handler plugins.
- Several presentational form element plugins have been renamed.
Thefobi.contrib.plugins.form_elements.content.image
plugin has been
renamed tofobi.contrib.plugins.form_elements.content.content_image
.
Thefobi.contrib.plugins.form_elements.content.text
plugin has been
renamed tofobi.contrib.plugins.form_elements.content.content_text
.
Thefobi.contrib.plugins.form_elements.content.video
plugin has been
renamed tofobi.contrib.plugins.form_elements.content.content_video
.
If you have used any of the above mentioned plugins, make sure to update
the app paths in thesettings
module of your project. - The
fobi.contrib.plugins.form_elements.content.dummy
plugin has been moved
tofobi.contrib.plugins.form_elements.test.dummy
location. If you have
used it, make sure to update the its' path in thesettings
module of
your project. - Added readme to the following content form element plugins:
dummy
,
content_image
,content_text
andcontent_video
. - Added
foundation5
andsimple
theme widgets fordb_store
plugin. - If you have been overriding the defaults of the
db_store
plugin, change
the prefix fromFOBI_PLUGIN_DB_EXPORT_
toFOBI_PLUGIN_DB_STORE_
. For
example,FOBI_PLUGIN_DB_EXPORT_CSV_DELIMITER
should become
FOBI_PLUGIN_DB_STORE_CSV_DELIMITER
. - Mentioning the
fobi_find_broken_entries
management command in the
documentation, as well as improving the management command itself (more
verbose output). - Birthday field added.