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.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.0.1.zip (11.5 kB view details)

Uploaded Source

File details

Details for the file wtforms_extras-1.0.1.zip.

File metadata

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

File hashes

Hashes for wtforms_extras-1.0.1.zip
Algorithm Hash digest
SHA256 db03eccffcf5840521e2185bd7d03032d1c4fbc7ed0b28a900504609bfa322a4
MD5 5ec4b005910c13e8da82991eabe4e611
BLAKE2b-256 3f2d218a7ec6f5a2c95a37c6b83b87c092b66434c9a363a05a7a356e53c6d9b2

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