app/django/newforms/__init__.py
author Todd Larsen <tlarsen@google.com>
Wed, 01 Oct 2008 00:35:29 +0000
changeset 221 9cca97feadaa
parent 54 03e267d67478
permissions -rw-r--r--
Add sidebar menu items for /site/docs/list and /site/docs/edit. They do not currently have view functions attached, but there are other links in the mock-up portion of the sidebar that don't currently work, either. The goal is to commit the /site/docs/list and /site/docs/edit changes in small bits that don't break anyone else.

"""
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 *