Skip to content

Instantly share code, notes, and snippets.

Avatar

Jonathan Vanasco jvanasco

View GitHub Profile
@jvanasco
jvanasco / formgenerator.py
Created Feb 9, 2012 — forked from ericrasmussen/formgenerator.py
FormGenerator to extend Deform functionality
View formgenerator.py
"""
Simple module to ease form handling with ``Deform``. The provided
``FormGenerator`` class handles repetitive tasks like validation,
xhr requests, and recovering from exceptions thrown by the model.
### Begin example scenario: Adding a new user
from myschemas import UserSchema
from formgenerator import (
You can’t perform that action at this time.