Skip to main content

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.3 - 2014-11-25

  • remove error star on default field

1.1.2 - 2014-11-25

  • spurious pdb

1.1.1 - 2014-11-24

  • omit fieldset properly

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.4.zip (12.0 kB view details)

Uploaded Source

File details

Details for the file wtforms_extras-1.1.4.zip.

File metadata

  • Download URL: wtforms_extras-1.1.4.zip
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wtforms_extras-1.1.4.zip
Algorithm Hash digest
SHA256 8b148285e0b9351a2c9e585458e833241a99e68d2af8204754c102b20f435c05
MD5 b62d1af76e0b96435d855928e1cd6531
BLAKE2b-256 9dd4b598cd757d56013042c5977cd01c71ca63dfba30acfd70b041c674ffdcfd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page