On Friday 25 January 2008 08:01:13 Richard Jones wrote:
> Thanks for your explanation, now how do I get a connection? :)
>
> I'm using TurboGears (for the first time). I guess I need to sign up to a
> TG mailing list now...
FWIW the magic is:
from turbogears import database
database.PackageHub('PACKAGE NAME').getConnection()
Where 'PACKAGE NAME' is obviously your TurboGears package name.
Thanks for the help!
Richard
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss