| | |
- FormValidator
- ValidatorConverter
- exceptions.Exception(exceptions.BaseException)
-
- InvalidField
class FormValidator |
| |
This is just a skeleton for what an actual form validator should
do.
The important method is .validate(), of course. It gets passed a
dictionary of the (processed) values from the form. If you have
.validatePartialForm() return True, it will be called regardless
of whether any of the fields have validation errors on thier own.
Raise an error (as below) if you don't like something about the field
values.
Return None on no errors. |
| |
Methods defined here:
- validate(self, fieldDict)
- validatePartialForm(self)
|
|