2008-07-19 09:22:26 +08:00
|
|
|
"""
|
|
|
|
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()
|
|
|
|
"""
|
|
|
|
|
2011-10-18 08:47:49 +08:00
|
|
|
from __future__ import absolute_import
|
|
|
|
|
2010-01-05 11:56:19 +08:00
|
|
|
from django.core.exceptions import ValidationError
|
2011-10-18 08:47:49 +08:00
|
|
|
from django.forms.fields import *
|
|
|
|
from django.forms.forms import *
|
|
|
|
from django.forms.models import *
|
|
|
|
from django.forms.widgets import *
|