[Twisted-web] Rendering error messages

Donovan Preston dp at ulaluma.com
Wed Dec 15 08:42:21 MST 2004

On Dec 15, 2004, at 7:23 AM, Michael Wilson wrote:

> Hi,
> That makes sense, but I want to emit a message _per field_, thus, if 4
> things are wrong (school exists, bad address, etc, etc), each _field_
> will have an error next to it. annoter.ValidateError gives me one
> message on one line, correct?

Nope. That's why the first argument is a dict. Put as many error 
messages as you want in there, corresponding with the argument binding 


More information about the Twisted-web mailing list