app/django/forms/__init__.py
author Sverre Rabbelier <srabbelier@gmail.com>
Wed, 28 Jan 2009 14:18:31 +0000
changeset 1035 04229d710ce9
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Allow for setting a edit_cancel_redirect Defaults to list view for the entity but can be overriden by setting the parameter manually. Falls back to history.go(-1) if not set. Patch by: Sverre Rabbelier

"""
Django validation and HTML form handling.

TODO:
    Default value for field
    Field labels
    Nestable Forms
    FatalValidationError -- short-circuits all other validators on a form
    ValidationWarning
    "This form field requires foo.js" and form.js_includes()
"""

from util import ValidationError
from widgets import *
from fields import *
from forms import *
from models import *