From: Oleg B. <ph...@ph...> - 2009-08-19 15:59:38
|
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/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |