On Fri, Mar 23, 2007 at 02:27:18PM -0400, Mathias Stearn wrote:
> 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:
That's for by*() methods. Ok.
> from_python = getattr(cls, '_SO_from_python_' + name)
> if from_python:
> value = from_python(value, cls)
Hmm... I have to think about it...
> 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?
Everything is at http://sqlobject.org/ There are no hidden gems.
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ ph...@ph...
Programmers don't die, they just GOSUB without RETURN.
|