Extended forms library for django
Project description
.. _topics-overview:
============================
Softwarefabrica Django Forms
============================
.. admonition:: About this document
This document provides an overview of what Softwarefabrica Django Forms is.
.. contents::
:depth: 3
See also the `documentation index`_.
.. _`documentation index`: index.html
What is this?
=============
This is a forms library for `Django`_ projects, which aims at providing increased
functionality and flexibility to the standard `forms library`_ (aka `newforms`).
Your help and feedback is precious. Suggestions and contributions are very much
appreciated. See below on how you can contribute.
If you want to actively collaborate and provide code, documentation, tests or
bug fixes, please feel free to create a new Bazaar branch in Launchpad, and tell
us about it! See the collaboration_ section for more information.
And don't forget to check also our other `Django`_ applications,
`softwarefabrica.django.utils`_, `softwarefabrica.django.crud`_, and
`softwarefabrica.django.wiki`_.
.. _`Django`: http://www.djangoproject.com
.. _`softwarefabrica.django.utils`: http://pypi.python.org/pypi/softwarefabrica.django.utils
.. _`softwarefabrica.django.forms`: http://pypi.python.org/pypi/softwarefabrica.django.forms
.. _`softwarefabrica.django.crud`: http://pypi.python.org/pypi/softwarefabrica.django.crud
.. _`softwarefabrica.django.wiki`: http://pypi.python.org/pypi/softwarefabrica.django.wiki
.. _`sflib`: http://pypi.python.org/pypi/sflib
Feature overview
----------------
- a compatible replacement for the standard ``Form`` class, supporting **templated** form output
- a compatible replacement for the standard ``ModelForm`` class, supporting extended features, like **field ordering**, **advanced widgets**, **templated output**
- a compatible replacement for ``modelform_factory``, which uses the extended ``ModelForm``
- a set of extended fields and widgets:
- compatible replacements for ``DateField`` and ``DateTimeField`` and the associated widgets, using a nice **popup Javascript calendar**
- a new ``DateRangeField``
- compatible replacements for ``ModelChoiceField`` and ``ModelMultipleChoiceField`` using a **popup interface** for selecting the related instance/instances
.. _`Django`: http://www.djangoproject.com
.. _`forms library`: http://docs.djangoproject.com/en/dev/topics/forms/
Pre-requisites and installation
===============================
See the `installation guide document`_.
.. _`installation guide document`: install.html
.. _collaboration:
How can I contribute?
=====================
As said, your help is precious. We'll warmly appreciate any help you'll want to
give. Just using this library is a reward for us, but if you want to become more
actively involved, you are welcome!
The project has a `development home page`_ at `LaunchPad`_:
https://launchpad.net/sf-django-forms
There you can file `bugs`_, suggest `enhancements`_, follow development or ask
to become an active `team`_ member.
You can checkout the development branch using `Bazaar`_:
::
bzr branch lp:sf-django-forms
We'll appreciate very much if you'll want to contribute back any changes. Just
register your branch with `LaunchPad`_ and tell us!
Source code can also be browsed `online`_.
.. _`development home page`: https://launchpad.net/sf-django-forms
.. _`LaunchPad`: http://launchpad.net
.. _`Bazaar`: http://bazaar-vcs.org/
.. _`online`: http://bazaar.launchpad.net/~softwarefabrica/sf-django-forms/trunk/changes
.. _`Softwarefabrica`: https://edge.launchpad.net/softwarefabrica
.. _`team`: https://launchpad.net/~softwarefabrica
.. _`bugs`: https://bugs.launchpad.net/sf-django-forms
.. _`enhancements`: https://bugs.launchpad.net/sf-django-forms
Contacts
========
It's possible to contact the author by e-mail at the following addresses:
m.pantaleoni at softwarefabrica.org
panta at elasticworld.org
marco.pantaleoni at gmail.com
LICENSE
=======
This software is covered by the GNU General Public License version 2.
If you want to use this software in a closed source application, you
need to buy a commercial license from the author.
This open source version is:
Copyright (C) 2007-2008 Marco Pantaleoni. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
CHANGES
-------
2009-03-17 Marco Pantaleoni <panta@elasticworld.org>
* softwarefabrica/django/forms/extended.py fields.py widgets.py: implemented
workaround for Django bug #9473 involing NullBooleanFields in FormWizard
or FormPreview.
2009-03-15 Marco Pantaleoni <panta@elasticworld.org>
* softwarefabrica/django/forms/extended.py: handled case where Meta.fields
is present but None.
2009-03-11 Marco Pantaleoni <panta@elasticworld.org>
* softwarefabrica/django/forms/templates/forms/form.html
softwarefabrica/django/forms/templates/forms/hiddenfield.html: added
hidden fields handling.
* softwarefabrica/django/forms/extended.py: if Meta.fields is specified
in ModelForm, it's also used for the field ordering (by default).
2008-12-19 Marco Pantaleoni <panta@elasticworld.org>
* docs/install.txt: improved installation instructions.
* docs/: fixed some typos.
2008-12-18 Marco Pantaleoni <panta@elasticworld.org>
* fixes to setup.py, .bzrignore and README.txt
* added extensive documentation.
2008-12-16 Marco Pantaleoni <panta@elasticworld.org>
* softwarefabrica/django/forms/fields.py widgets.py: fixed small
bugs in DateField, DateTimeField, DateWidget, DateTimeWidget.
* softwarefabrica/django/forms/extended.py
(extended_formfield_cb): 'required' is forced into fields kwargs,
because in some cases it's not honoured.
2008-12-01 Marco Pantaleoni <panta@elasticworld.org>
* bug fixes.
2008-11-27 Marco Pantaleoni <panta@elasticworld.org>
* Added RelatedItemField, SelectPopupField,
SelectMultiplePopupField fields and corresponding widgets
(RelatedItemWidget, SelectPopupWidget, SelectMultiplePopupWidget
widgets).
2008-11-25 Marco Pantaleoni <panta@elasticworld.org>
* Added extended fields and widgets. Modified form classes to use
new widgets.
* Fixes, added regression tests.
* Created.
============================
Softwarefabrica Django Forms
============================
.. admonition:: About this document
This document provides an overview of what Softwarefabrica Django Forms is.
.. contents::
:depth: 3
See also the `documentation index`_.
.. _`documentation index`: index.html
What is this?
=============
This is a forms library for `Django`_ projects, which aims at providing increased
functionality and flexibility to the standard `forms library`_ (aka `newforms`).
Your help and feedback is precious. Suggestions and contributions are very much
appreciated. See below on how you can contribute.
If you want to actively collaborate and provide code, documentation, tests or
bug fixes, please feel free to create a new Bazaar branch in Launchpad, and tell
us about it! See the collaboration_ section for more information.
And don't forget to check also our other `Django`_ applications,
`softwarefabrica.django.utils`_, `softwarefabrica.django.crud`_, and
`softwarefabrica.django.wiki`_.
.. _`Django`: http://www.djangoproject.com
.. _`softwarefabrica.django.utils`: http://pypi.python.org/pypi/softwarefabrica.django.utils
.. _`softwarefabrica.django.forms`: http://pypi.python.org/pypi/softwarefabrica.django.forms
.. _`softwarefabrica.django.crud`: http://pypi.python.org/pypi/softwarefabrica.django.crud
.. _`softwarefabrica.django.wiki`: http://pypi.python.org/pypi/softwarefabrica.django.wiki
.. _`sflib`: http://pypi.python.org/pypi/sflib
Feature overview
----------------
- a compatible replacement for the standard ``Form`` class, supporting **templated** form output
- a compatible replacement for the standard ``ModelForm`` class, supporting extended features, like **field ordering**, **advanced widgets**, **templated output**
- a compatible replacement for ``modelform_factory``, which uses the extended ``ModelForm``
- a set of extended fields and widgets:
- compatible replacements for ``DateField`` and ``DateTimeField`` and the associated widgets, using a nice **popup Javascript calendar**
- a new ``DateRangeField``
- compatible replacements for ``ModelChoiceField`` and ``ModelMultipleChoiceField`` using a **popup interface** for selecting the related instance/instances
.. _`Django`: http://www.djangoproject.com
.. _`forms library`: http://docs.djangoproject.com/en/dev/topics/forms/
Pre-requisites and installation
===============================
See the `installation guide document`_.
.. _`installation guide document`: install.html
.. _collaboration:
How can I contribute?
=====================
As said, your help is precious. We'll warmly appreciate any help you'll want to
give. Just using this library is a reward for us, but if you want to become more
actively involved, you are welcome!
The project has a `development home page`_ at `LaunchPad`_:
https://launchpad.net/sf-django-forms
There you can file `bugs`_, suggest `enhancements`_, follow development or ask
to become an active `team`_ member.
You can checkout the development branch using `Bazaar`_:
::
bzr branch lp:sf-django-forms
We'll appreciate very much if you'll want to contribute back any changes. Just
register your branch with `LaunchPad`_ and tell us!
Source code can also be browsed `online`_.
.. _`development home page`: https://launchpad.net/sf-django-forms
.. _`LaunchPad`: http://launchpad.net
.. _`Bazaar`: http://bazaar-vcs.org/
.. _`online`: http://bazaar.launchpad.net/~softwarefabrica/sf-django-forms/trunk/changes
.. _`Softwarefabrica`: https://edge.launchpad.net/softwarefabrica
.. _`team`: https://launchpad.net/~softwarefabrica
.. _`bugs`: https://bugs.launchpad.net/sf-django-forms
.. _`enhancements`: https://bugs.launchpad.net/sf-django-forms
Contacts
========
It's possible to contact the author by e-mail at the following addresses:
m.pantaleoni at softwarefabrica.org
panta at elasticworld.org
marco.pantaleoni at gmail.com
LICENSE
=======
This software is covered by the GNU General Public License version 2.
If you want to use this software in a closed source application, you
need to buy a commercial license from the author.
This open source version is:
Copyright (C) 2007-2008 Marco Pantaleoni. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
CHANGES
-------
2009-03-17 Marco Pantaleoni <panta@elasticworld.org>
* softwarefabrica/django/forms/extended.py fields.py widgets.py: implemented
workaround for Django bug #9473 involing NullBooleanFields in FormWizard
or FormPreview.
2009-03-15 Marco Pantaleoni <panta@elasticworld.org>
* softwarefabrica/django/forms/extended.py: handled case where Meta.fields
is present but None.
2009-03-11 Marco Pantaleoni <panta@elasticworld.org>
* softwarefabrica/django/forms/templates/forms/form.html
softwarefabrica/django/forms/templates/forms/hiddenfield.html: added
hidden fields handling.
* softwarefabrica/django/forms/extended.py: if Meta.fields is specified
in ModelForm, it's also used for the field ordering (by default).
2008-12-19 Marco Pantaleoni <panta@elasticworld.org>
* docs/install.txt: improved installation instructions.
* docs/: fixed some typos.
2008-12-18 Marco Pantaleoni <panta@elasticworld.org>
* fixes to setup.py, .bzrignore and README.txt
* added extensive documentation.
2008-12-16 Marco Pantaleoni <panta@elasticworld.org>
* softwarefabrica/django/forms/fields.py widgets.py: fixed small
bugs in DateField, DateTimeField, DateWidget, DateTimeWidget.
* softwarefabrica/django/forms/extended.py
(extended_formfield_cb): 'required' is forced into fields kwargs,
because in some cases it's not honoured.
2008-12-01 Marco Pantaleoni <panta@elasticworld.org>
* bug fixes.
2008-11-27 Marco Pantaleoni <panta@elasticworld.org>
* Added RelatedItemField, SelectPopupField,
SelectMultiplePopupField fields and corresponding widgets
(RelatedItemWidget, SelectPopupWidget, SelectMultiplePopupWidget
widgets).
2008-11-25 Marco Pantaleoni <panta@elasticworld.org>
* Added extended fields and widgets. Modified form classes to use
new widgets.
* Fixes, added regression tests.
* Created.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file softwarefabrica.django.forms-0.9dev-BZR-r23-panta-elasticworld.org-20090317192744-od4jr0rafecsxd3w.tar.gz
.
File metadata
- Download URL: softwarefabrica.django.forms-0.9dev-BZR-r23-panta-elasticworld.org-20090317192744-od4jr0rafecsxd3w.tar.gz
- Upload date:
- Size: 428.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3a7241538a9eea64699ad8e0fa066dd98bb59b920dd733d3fe55edfc326007b |
|
MD5 | 31a23aa0cda091b0de3dea87b189b677 |
|
BLAKE2b-256 | 5a3ed833337219f7bbc166a23b5110565bd303a8d7a27b22179ce9de769f88f4 |
File details
Details for the file softwarefabrica.django.forms-0.9dev_BZR_r23_panta_elasticworld.org_20090317192744_od4jr0rafecsxd3w-py2.6.egg
.
File metadata
- Download URL: softwarefabrica.django.forms-0.9dev_BZR_r23_panta_elasticworld.org_20090317192744_od4jr0rafecsxd3w-py2.6.egg
- Upload date:
- Size: 38.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1704c9190b8d87dcb43bf04e93808590b9fe04257f8a006c6c58e6bd411c74d |
|
MD5 | 90b731582b6b00e268e9d03077fd5a88 |
|
BLAKE2b-256 | d8ff9fbcb9ddd8614eaee426d9848a8416aa997b77dc0382850374a28983d79d |
File details
Details for the file softwarefabrica.django.forms-0.9dev_BZR_r23_panta_elasticworld.org_20090317192744_od4jr0rafecsxd3w-py2.5.egg
.
File metadata
- Download URL: softwarefabrica.django.forms-0.9dev_BZR_r23_panta_elasticworld.org_20090317192744_od4jr0rafecsxd3w-py2.5.egg
- Upload date:
- Size: 46.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c71744437200ee0c7088a1bfcf1b0244c2a4746be6d7196dccc7e98f6382bfe5 |
|
MD5 | 909c82a13cf68d31d5a1757262af3a11 |
|
BLAKE2b-256 | d29ef44d6840949d7fafec19451e838667480dce10ba6e23237a35c9ab26f67e |
File details
Details for the file softwarefabrica.django.forms-0.9dev_BZR_r23_panta_elasticworld.org_20090317192744_od4jr0rafecsxd3w-py2.4.egg
.
File metadata
- Download URL: softwarefabrica.django.forms-0.9dev_BZR_r23_panta_elasticworld.org_20090317192744_od4jr0rafecsxd3w-py2.4.egg
- Upload date:
- Size: 38.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b69aed93d79284e2a80be07127c6e10dc3f3e5ca2a96fd963588f4cb7830698 |
|
MD5 | 3f4da4bef51eeed9d87c5adb6239bc70 |
|
BLAKE2b-256 | a5c72632fb8f174462c18dd608a413e8a8c31b8e81907a067e0c86ce471ce686 |