Skip to content

Commit

Permalink
prepare 0.4.21; add select multiple model objects plugin; docs updated;
Browse files Browse the repository at this point in the history
  • Loading branch information
barseghyanartur committed Feb 27, 2015
1 parent 8d421dd commit b9486ac
Show file tree
Hide file tree
Showing 42 changed files with 1,995 additions and 1,758 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ are used for versioning (schema follows below):
0.3.4 to 0.4).
- All backwards incompatible changes are mentioned in this document.

0.4.21
-------------------------------------
2015-02-28

- The ``fobi.contrib.plugins.form_elements.fields.select_multiple_model_objects``
plugin added.

0.4.20
-------------------------------------
2015-02-27
Expand Down
4 changes: 3 additions & 1 deletion QUICK_START.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ Add ``fobi`` core and the plugins to the ``INSTALLED_APPS`` of the your
'fobi.contrib.plugins.form_elements.fields.select',
'fobi.contrib.plugins.form_elements.fields.select_model_object',
'fobi.contrib.plugins.form_elements.fields.select_multiple',
'fobi.contrib.plugins.form_elements.fields.select_multiple_model_objects',
'fobi.contrib.plugins.form_elements.fields.text',
'fobi.contrib.plugins.form_elements.fields.textarea',
'fobi.contrib.plugins.form_elements.fields.url',
Expand Down Expand Up @@ -109,6 +110,7 @@ Putting all together, you would have something like this.
'fobi.contrib.plugins.form_elements.fields.select',
'fobi.contrib.plugins.form_elements.fields.select_model_object',
'fobi.contrib.plugins.form_elements.fields.select_multiple',
'fobi.contrib.plugins.form_elements.fields.select_multiple_model_objects',
'fobi.contrib.plugins.form_elements.fields.text',
'fobi.contrib.plugins.form_elements.fields.textarea',
'fobi.contrib.plugins.form_elements.fields.url',
Expand Down Expand Up @@ -223,4 +225,4 @@ Also, make sure to have the Django model permissions set for following models:

Part 2: Integration with DjangoCMS
===============================================
Coming soon...
Coming soon...
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ Or latest stable version from BitBucket:
'fobi.contrib.plugins.form_elements.fields.select',
'fobi.contrib.plugins.form_elements.fields.select_model_object',
'fobi.contrib.plugins.form_elements.fields.select_multiple',
'fobi.contrib.plugins.form_elements.fields.select_multiple_model_objects',
'fobi.contrib.plugins.form_elements.fields.text',
'fobi.contrib.plugins.form_elements.fields.textarea',
'fobi.contrib.plugins.form_elements.fields.url',
Expand Down Expand Up @@ -1266,6 +1267,8 @@ Fields
<https://github.com/barseghyanartur/django-fobi/tree/stable/src/fobi/contrib/plugins/form_elements/fields/select_model_object/>`_
- `Select multiple (drop-down)
<https://github.com/barseghyanartur/django-fobi/tree/stable/src/fobi/contrib/plugins/form_elements/fields/select_multiple/>`_
- `Select multiple model objects (drop-down)
<https://github.com/barseghyanartur/django-fobi/tree/stable/src/fobi/contrib/plugins/form_elements/fields/select_multiple_model_objects/>`_
- `Text
<https://github.com/barseghyanartur/django-fobi/tree/stable/src/fobi/contrib/plugins/form_elements/fields/text/>`_
- `Textarea
Expand Down
8 changes: 4 additions & 4 deletions TODOS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ Must haves
+ Add a quickstart documentation.
+ Make a Django-CMS dedicated theme (for the admin) using `djangocms-admin-style
<https://github.com/divio/djangocms-admin-style>`_.
+ Clean up the Input plugin (some properties of it, like "type" aren't anyhow
used, while they should be).
- Translate German and Russian URLs.
- See if it's possible to make the "simple" theme base template (for Django
admin) as much generic so that change between versions doesn't cause
Expand All @@ -228,8 +230,6 @@ Must haves
example as much as possible.
- Improve the "simple" theme for Django 1.6 and Django 1.7 (tiny bits of
styling).
- Finish the Input plugin (some properties of it, like "type" aren't anyhow
used, while they should be).
- Edit form test.
- Edit form element tests.
- Edit from handler tests.
Expand Down Expand Up @@ -305,6 +305,8 @@ Could haves
+ Add Dutch translation.
+ Add Russian translation.
+ Add more HTML5 fields?
+ Finish select multiple model objects plugin (issue with processing form data
on form submit).
- Make it possible for themes to override the ``fobi.forms.FormEntryForm``
form?
- Make it possible to design a form based on existing models.
Expand All @@ -318,8 +320,6 @@ Could haves
- TinyMCE form element cosmetic plugin.
- In the cosmetic image plugin, render the sized image.
- Add Armenian translation.
- Finish select multiple model objects plugin (issue with processing form data
on form submit).
- Add option to redirect to another page.
- Conditional inputs.
- Form wizards (combine forms with each other, having one at a step, finally -
Expand Down
9 changes: 6 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ Or latest stable version from BitBucket:
'fobi.contrib.plugins.form_elements.fields.select',
'fobi.contrib.plugins.form_elements.fields.select_model_object',
'fobi.contrib.plugins.form_elements.fields.select_multiple',
'fobi.contrib.plugins.form_elements.fields.select_multiple_model_objects',
'fobi.contrib.plugins.form_elements.fields.text',
'fobi.contrib.plugins.form_elements.fields.textarea',
'fobi.contrib.plugins.form_elements.fields.url',
Expand Down Expand Up @@ -1266,6 +1267,8 @@ Fields
<https://github.com/barseghyanartur/django-fobi/tree/stable/src/fobi/contrib/plugins/form_elements/fields/select_model_object/>`_
- `Select multiple (drop-down)
<https://github.com/barseghyanartur/django-fobi/tree/stable/src/fobi/contrib/plugins/form_elements/fields/select_multiple/>`_
- `Select multiple model objects (drop-down)
<https://github.com/barseghyanartur/django-fobi/tree/stable/src/fobi/contrib/plugins/form_elements/fields/select_multiple_model_objects/>`_
- `Text
<https://github.com/barseghyanartur/django-fobi/tree/stable/src/fobi/contrib/plugins/form_elements/fields/text/>`_
- `Textarea
Expand Down Expand Up @@ -1374,9 +1377,9 @@ It's possible to provide initial data for the form using the GET arguments.

In that case, along with the field values, you should be providing
an additional argument named "fobi_initial_data", which doesn't have to
hold a value. For example, if your form contains "email" and "age" field names
and you want to provide initial values for those using GET arguments, you
should be constructing your URL to the form in as follows:
hold a value. For example, if your form contains of fields named "email" and
"age" and you want to provide initial values for those using GET arguments, you
should be constructing your URL to the form as follows:

http://127.0.0.1:8001/fobi/view/test-form/?fobi_initial_data&email=test@example.com&age=19

Expand Down
4 changes: 3 additions & 1 deletion docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ Add ``fobi`` core and the plugins to the ``INSTALLED_APPS`` of the your
'fobi.contrib.plugins.form_elements.fields.select',
'fobi.contrib.plugins.form_elements.fields.select_model_object',
'fobi.contrib.plugins.form_elements.fields.select_multiple',
'fobi.contrib.plugins.form_elements.fields.select_multiple_model_objects',
'fobi.contrib.plugins.form_elements.fields.text',
'fobi.contrib.plugins.form_elements.fields.textarea',
'fobi.contrib.plugins.form_elements.fields.url',
Expand Down Expand Up @@ -109,6 +110,7 @@ Putting all together, you would have something like this.
'fobi.contrib.plugins.form_elements.fields.select',
'fobi.contrib.plugins.form_elements.fields.select_model_object',
'fobi.contrib.plugins.form_elements.fields.select_multiple',
'fobi.contrib.plugins.form_elements.fields.select_multiple_model_objects',
'fobi.contrib.plugins.form_elements.fields.text',
'fobi.contrib.plugins.form_elements.fields.textarea',
'fobi.contrib.plugins.form_elements.fields.url',
Expand Down Expand Up @@ -223,4 +225,4 @@ Also, make sure to have the Django model permissions set for following models:

Part 2: Integration with DjangoCMS
===============================================
Coming soon...
Coming soon...
2 changes: 2 additions & 0 deletions examples/quick_start/quick_start/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,13 @@
'fobi.contrib.plugins.form_elements.fields.select',
'fobi.contrib.plugins.form_elements.fields.select_model_object',
'fobi.contrib.plugins.form_elements.fields.select_multiple',
'fobi.contrib.plugins.form_elements.fields.select_multiple_model_objects',
'fobi.contrib.plugins.form_elements.fields.text',
'fobi.contrib.plugins.form_elements.fields.textarea',
'fobi.contrib.plugins.form_elements.fields.url',

# Form element plugins
'easy_thumbnails', # Required by `content_image` plugin
'fobi.contrib.plugins.form_elements.content.content_image',
'fobi.contrib.plugins.form_elements.content.content_text',
'fobi.contrib.plugins.form_elements.content.content_video',
Expand Down
17 changes: 17 additions & 0 deletions examples/requirements_django16.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Django>=1.6,<1.7

Jinja2
MarkupSafe
MySQL-python
Sphinx
django-autoslug==1.7.1
django-debug-toolbar==0.11.0
django-registration-redux>=1.1
docutils
ipdb
ipython
ordereddict>=1.1
# Selenium shall always be upgraded
selenium
simple-timer>=0.2
tox
Binary file modified examples/simple/locale/de/LC_MESSAGES/django.mo
Binary file not shown.

0 comments on commit b9486ac

Please sign in to comment.