app/django/forms/__init__.py
author Sverre Rabbelier <srabbelier@gmail.com>
Tue, 10 Mar 2009 23:55:33 +0000
changeset 1789 6f112b2ebd1f
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Return a HttpResponse in seed_db Also moved the adding of the django patterns to where they belong so that they do not get added multiple times. 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 *