app/django/newforms/__init__.py
author Todd Larsen <tlarsen@google.com>
Wed, 20 Aug 2008 00:04:42 +0000
changeset 86 fd34dd071e5e
parent 54 03e267d67478
permissions -rw-r--r--
Fix up the URLs mapping to soc.views.user.profile.edit() and make the site base template (mostly a mock-up) point to /user/profile instead of the old /usr/linkname/profile from the static mock-up.

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