Skip to content
No description or website provided.
Python
Find file
Latest commit 0fb6686 Mar 1, 2012 @jeanphix Merge pull request #1 from Cosmius/master
Converts Enum schema type to SelectField in WTForms.
Failed to load latest commit information.
wtalchemy
.gitignore
README
README.rst
setup.py
tests.py

README.rst

WTAlchemy

Provides a SQLAlchemy extension for WTForms.

Deals with relationship, unicity and more.:

from wtalchemy.orm import model_form

class User(Model):
    __tablename__ = "user"
    id = Column(Integer, primary_key=True)
    username = Column(String(255), nullable=False, unique=True)

UserForm = model_form(User, db_session)
Something went wrong with that request. Please try again.