Re: [SQLObject] AttributeError: No connection has been defined for this thread or process
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2010-04-09 06:13:53
|
On Thu, Apr 08, 2010 at 06:47:00PM -0300, Juan Manuel Santos wrote: > I don't > set any connection globally (since my plans are for the application to be > able to manage several connections to different databases at the same time). > Instead, I pass a connection parameter to every select, class creation and > any SQLObject method which may require it. At waht phase the error is raised? Do you use fromDatabase=True? Oleg. -- Oleg Broytman http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |