app/django/forms/__init__.py
author Sverre Rabbelier <srabbelier@gmail.com>
Wed, 04 Feb 2009 23:06:48 +0000
changeset 1215 b21e40ef8dad
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Hook up the new jquery plugins in base.html and _as_table_row.html A very important todo here is to make loading these plugins only when needed, as to not waste bandwith. This should be trivial to do later on though, so leaving as-is now. Patch by: "Mario Ferraro" <fadinlight@gmail.com> Reviewed by: Sverre Rabbelier

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