app/django/forms/__init__.py
author Sverre Rabbelier <srabbelier@gmail.com>
Mon, 14 Sep 2009 18:43:15 +0200
changeset 2915 76b5ef0fb5c6
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Use request.start and end Without the start and end we die on 'assert self.in_request' in the core per request value store methods.

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