app/django/forms/__init__.py
author Lennard de Rijk <ljvderijk@gmail.com>
Mon, 13 Jul 2009 21:56:01 +0200
changeset 2634 6e71545533b6
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Added failed_evaluations property to StudentProject model. This is used to store GradingRecords which state a fail for this project. It's a list because manual changes in GradingRecords might force multiple GradingRecords to state a fail. Also it needs to be clear which GradingRecords have been processed and with which grade_decision.

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