Exception or not

Arnaud Delobelle arnodel at googlemail.com
Mon Mar 3 17:20:42 CET 2008

Monica Leko wrote:

> Suppose you have some HTML forms which you would like to validate.
> Every field can have different errors.  For example, this are the
> forms:
> username
> password
> etc
> And you want to validate them with some class.  Is this good pattern:

You could have a look at how django [http://www.djangoproject.com] and
how they handle forms:


In fact their newforms module should work fine as a standalone.

More information about the Python-list mailing list