app/django/forms/__init__.py
author Lennard de Rijk <ljvderijk@gmail.com>
Sun, 28 Jun 2009 17:53:58 +0200
changeset 2440 05c430d1c147
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Renamed opening to survey_start and deadline to survey_end. Symmetry seems to be both pleasing and helpful when understanding the code.

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