Common OneGov form library based on WTForms.
Project description
Provides fields, widgets and shared form code, as well as the ability to define custom forms using JSON. Those forms are stored on the database and are meant to be customer defined forms.
Through the web creating of forms is possible with this, but onegov.form does not offer any UI to do that.
Run the Tests
Install tox and run it:
pip install tox tox
Limit the tests to a specific python version:
tox -e py27
Conventions
Onegov Form follows PEP8 as close as possible. To test for it run:
tox -e pep8
Onegov Form uses Semantic Versioning
Build Status
Coverage
Latests PyPI Release
License
onegov.form is released under GPLv2
Changelog
Unreleased
0.2.3 (2015-05-29)
Fix unicode errors in Python 2.7. [href]
0.2.2 (2015-05-29)
Make sure special fields like the csrf token are included in the fieldsets. [href]
0.2.1 (2015-05-28)
Makes sure multiple fields with the same labels are handled more intelligently. [href]
0.2.0 (2015-05-28)
Rewrites most of the parsing logic. Pyparsing is no longer used for indentation, instead the form source is transalted into YAML first, then parsed further.
This fixes all known indentation problems.
[href]
0.1.0 (2015-05-22)
Adds the ability to store forms and related submissions in the database. [href]
Adds a custom markdownish form syntax.
See http://onegov.readthedocs.org/en/latest/onegov_form.html#module-onegov.form.parser.grammar [href]
0.0.1 (2015-04-29)
Initial Release [href]
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 Distribution
File details
Details for the file onegov.form-0.2.3.tar.gz
.
File metadata
- Download URL: onegov.form-0.2.3.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7da7bba84e95e8ffa249b8ff6b88e972d359673b2ef24a9b35109c30cb24269b |
|
MD5 | 26a8034b04c2673fa1897716516b3a8b |
|
BLAKE2b-256 | 94bbfefb5b9729548ab633f68caec450db3dd81f931e4748570489d84aa5f6ba |
File details
Details for the file onegov.form-0.2.3-py2-none-any.whl
.
File metadata
- Download URL: onegov.form-0.2.3-py2-none-any.whl
- Upload date:
- Size: 23.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c26e3b2996a7e6f424953975a67d061b705e98824befd107e8a50a3a891e12b2 |
|
MD5 | 0be846bd88568b5da471f3cfc2b6f112 |
|
BLAKE2b-256 | 5529fcd9e4fbb09f70c63764ee049f32c8b19a9e72e0d69eb7572e97ec29e93a |