From: Oleg B. <ph...@ma...> - 2006-03-30 17:19:45
|
On Thu, Mar 30, 2006 at 06:33:05PM +0200, Ivan Horvath wrote: > but when i try Workpackage.byCode(XXXXX) it fails > XXXX is a unicode string .select()/.selectBy()/.by*() accepts only strings. Encode XXX to DB encoding: .byCode(XXX.encode('UTF-8')) Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |