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.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.1.tar.gz
.
File metadata
- Download URL: onegov.form-0.2.1.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6a64e09396f25a975822cec54118f19c81ccb0e4b680d5d464fd2dbfe87393f |
|
MD5 | 1f3f3f0d3d1bf2aae9a5c811c9cfbb81 |
|
BLAKE2b-256 | 4cd9389e83f481f5f5d5ea978c592a4d91ac6206c248c099a61acad46604c961 |
File details
Details for the file onegov.form-0.2.1-py2-none-any.whl
.
File metadata
- Download URL: onegov.form-0.2.1-py2-none-any.whl
- Upload date:
- Size: 23.4 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4299a6fa6e83bf39dd98adc1ac7a67b6be6edc8682a2a078264990cbb9d5df07 |
|
MD5 | 3f3c01a23cd0e00c1502d55a56850f64 |
|
BLAKE2b-256 | 7df6ce5fe958b57014f9d93a6d2c72e2d83f0eaf822c8261d4a156a47530d159 |