On Fri, Mar 23, 2007 at 02:27:18PM -0400, Mathias Stearn wrote: > 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)
Shame on me, it took more than two years to resolve the issues. But finally it is done! Now .selectBy(), .deleteBy() and .by*() methods pass all values through .from_python(), not only unicode. Oleg. -- Oleg Broytmann http://phd.pp.ru/ p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss