Re: [SQLObject] from_python

2009-08-19 Thread Oleg Broytmann
On Wed, Aug 19, 2009 at 07:59:29PM +0400, Oleg Broytmann wrote: > Now .selectBy(), .deleteBy() and .by*() methods pass > all values through .from_python(), not only unicode. Now - that is, in SVN. Will be in 0.12. Oleg. -- Oleg Broytmannhttp://phd.pp.ru/p...@phd.p

Re: [SQLObject] from_python

2009-08-19 Thread Oleg Broytmann
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, c