Proposal: Generate FormEncode schema from DB constraints

"Hamish Lawson" <[email protected]> Thu, 20 Jul 2006 10:57:50 +0100
Newsgroups gmane.comp.web.skunkweb
Message-ID <[email protected]>
What do people think about the idea of adding to the PyDO API a method
that would return the constraints on a table expressed as a FormEncode
schema? One use for this would be in an overridden _validateFields,
when we want to catch any constraint violations ourselves rather than
leaving it to the database to complain. If there is support for the
idea, I'll make a stab at it some time.

Hamish Lawson

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV