This may be a dirty hack, but the following works for me. In main.py around line 1297 add this at the top of the function SQLObject._findAlternateID:
from_python = getattr(cls, '_SO_from_python_' + name) if from_python: value = from_python(value, cls) There are a few other related features I'd like to add, but the code is kinda hard to grok. Do you have any sort of developer documentation or a general description of what is where? --Mathias On 3/22/07, Oleg Broytmann <[EMAIL PROTECTED]> wrote: > On Thu, Mar 22, 2007 at 11:21:38AM -0400, Mathias Stearn wrote: > > bySSN method should run the argument through the from_python part of > > the validator. It would be nice if select and selectBy also did I can > > see how this would be more complicated. > > It would be. Thank you for the idea. I'll put it in my TODO, but you can > speed things up by working on a patch. > > Oleg. > -- > Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED] > Programmers don't die, they just GOSUB without RETURN. > > ------------------------------------------------------------------------- > 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 > _______________________________________________ > sqlobject-discuss mailing list > sqlobject-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss > ------------------------------------------------------------------------- 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 _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss