app/django/forms/__init__.py
author Lennard de Rijk <ljvderijk@gmail.com>
Wed, 05 Aug 2009 12:38:50 +0200
changeset 2731 4d143278f9a0
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
The Survey Results view now only list Records of interest to the current user. Also added a hook that can be overwritten by subclasses to adjust the filter. THis will be useful when wanting to filter on ProjectSurveyRecords for a specific org.

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