william wrote:
> By looking deeper in the code, (if I'm correct), SQLObject use the
> validator from formencode.
> 
> My concern, is why must I put a validator in each of my save methods ?
> This validators is the same ahs we have in SQLObject, no ?

The validators in SQLObject play a different role; they are really there
to convert Python data structures to something that can go into a
database.  They aren't meant to convert an HTTP request into Python data
structures.  This is why there can and should be two sets of validators,
though it would be possible to apply both for the purpose of validation
(even if that doesn't happen now).

-- 
Ian Bicking  |  [EMAIL PROTECTED]  |  http://blog.ianbicking.org

Reply via email to