app/django/forms/__init__.py
author Sverre Rabbelier <srabbelier@gmail.com>
Wed, 15 Apr 2009 23:21:40 +0000
changeset 2189 8c9ab031a6b3
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Remove redundant if check site_logic.getSingleton() is guaranteed to return an entity. 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 *