app/django/forms/__init__.py
author Sverre Rabbelier <srabbelier@gmail.com>
Thu, 12 Feb 2009 00:04:32 +0000
changeset 1276 7f460f46a611
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Initial implementation of a ToS requirement in org_app If the _editContext method can be made generic enough, it should be easy to add ToSes to other forms. This solution should also be applied to user_self, as the current implementation is not very clean to say the least. Patch 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 *