Provide templates for wtform widgets
Project description
Introduction
This package aims to bring some improvements to make working with wtforms easier.
This package currently allows you to render entire forms.
Support for rendering wtform widgets with bootstrap and foundation are currently supported.
Example:
class MyForm(Form): # special property we use to specify order fields should # be shown _order = ['age'] age = IntegerField(u'Age') form = MyForm(req.POST) from wtforms_extras import render_form render_form(form, style='bootstrap') # or just a field from wtforms_extras import render_field render_field(form, 'age', style='bootstrap')
Changelog
1.1.0 - 2014-11-24
be able to use fieldsets
fix to always allow html rendering
1.0.1 - 2014-11-13
doc fix
1.0 - 2014-11-13
initial release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wtforms_extras-1.1.0.zip
(11.9 kB
view details)
File details
Details for the file wtforms_extras-1.1.0.zip
.
File metadata
- Download URL: wtforms_extras-1.1.0.zip
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4c099ef3e47abda244485051369ff2478cfd3090683930a20643bcf76051a7d |
|
MD5 | f9ba47e23bafe322c9d9e50283600915 |
|
BLAKE2b-256 | 9d1dda571b84df05895f6ae6d0b7322d2329457665f2d7917c272d37dcb903f5 |