Javier Rojas <[EMAIL PROTECTED]> writes: > yes, but if you do so, you would have to remember to pass the "messages" dict > anytime you use the validator.... Is a matter of taste, after all
If you're using it a lot, then subclassing might be nice. If you aren't, then you can use the dict approach. For a simple "mail us" form, I consider subclassing overkill. For a full app then subclassing might be the best approach because you'll end up with custom templates and widgets besides messages and you can control all of that in one place only. -- Jorge Godoy <[EMAIL PROTECTED]>
pgpJdo3l0dkbe.pgp
Description: PGP signature

