Navigation

  • index
  • modules |
  • next |
  • WTForms-Alchemy 0.18.0 documentation »
  • WTForms-Alchemy

WTForms-AlchemyΒΆ

WTForms-Alchemy is a WTForms extension toolkit for easier creation of model based forms. Strongly influenced by Django ModelForm.

  • Introduction
    • What for?
    • Differences with wtforms.ext.sqlalchemy model_form
    • Installation
    • QuickStart
  • Column to form field conversion
    • Basic type conversion
    • Excluded fields
    • Using include, exclude and only
    • Adding/overriding fields
    • Type decorators
  • Type specific conversion
    • Numeric type
    • Arrow type
    • Choice type
    • Color type
    • Country type
    • Email type
    • Password type
    • Phonenumber type
    • URL type
  • Form customization
    • Custom fields
    • Forcing the use of SelectField
    • Field descriptions
    • Field labels
    • Custom widgets
    • Default values
  • Validators
    • Auto-assigned validators
    • Unique validator
    • Using unique validator with existing objects
    • Range validators
    • Additional field validators
    • Overriding default validators
    • Disabling validators
  • Configuration
    • ModelForm meta parameters
    • Form inheritance
    • Not nullable column validation
    • Customizing type conversion
    • Custom form base class
  • Forms with relations
    • One-to-one relations
    • One-to-many relations
  • Advanced concepts
    • Using WTForms-Alchemy with SQLAlchemy-Defaults
    • Using WTForms-Alchemy with Flask-WTF
  • API Documentation
    • wtforms_alchemy
    • wtforms_alchemy.generator
    • wtforms_alchemy.fields
    • wtforms_alchemy.utils
  • License

Next topic

Introduction

This Page

  • Show Source

Quick search

Navigation

  • index
  • modules |
  • next |
  • WTForms-Alchemy 0.18.0 documentation »
  • WTForms-Alchemy
© Copyright 2022, Konsta Vesterinen. Last updated on 27 November 2022. Created using Sphinx 4.5.0.