app/django/forms/__init__.py
author Daniel Hans <Daniel.M.Hans@gmail.com>
Wed, 04 Nov 2009 21:37:44 +0100
changeset 3079 c491d96dce2c
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Fixed 'Register as a student' link problem for GHOP program. Params and new_params in student view are also sub-merged now, so the apply pattern may be used by GHOP student view.

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