[sqlalchemy] Re: difficult error from Base.metadata.create_all(engine)

2011-04-02 Thread farcat
He Michael, You saved me again .. Thanks! On Apr 2, 2:09 am, Michael Bayer mike...@zzzcomputing.com wrote: On Apr 1, 2011, at 2:52 PM, farcat wrote: Hi Michael, Still stuck, I don't mixin foreign keys or relationships. When is a Column attached to a table in declarative? so you have a

[sqlalchemy] adding listener(s) to existing engine

2011-04-02 Thread alex bodnaru
hello friends, the turbogears framework is providing my application with an engine. i'd like to add to it a listener, to turn on a pragma in sqlite. how should i proceed? thanks in advance, alex -- You received this message because you are subscribed to the Google Groups sqlalchemy group.

[sqlalchemy] Re: difficult error from Base.metadata.create_all(engine)

2011-04-02 Thread farcat
Hello, I get the following error: ___ Traceback (most recent call last): File D:\Documents\Code\Eclipse\workspace\SQLAtest\data.py, line 29, in module I1 = reg[integer](integer = 5321) File string, line 4, in __init__ File

Re: [sqlalchemy] adding listener(s) to existing engine

2011-04-02 Thread Michael Bayer
On Apr 2, 2011, at 6:48 AM, alex bodnaru wrote: hello friends, the turbogears framework is providing my application with an engine. i'd like to add to it a listener, to turn on a pragma in sqlite. how should i proceed? thanks in advance, alex So this is way super easy in 0.7,

Re: [sqlalchemy] adding listener(s) to existing engine

2011-04-02 Thread alex bodnaru
On 04/02/2011 07:04 PM, Michael Bayer wrote: On Apr 2, 2011, at 6:48 AM, alex bodnaru wrote: hello friends, the turbogears framework is providing my application with an engine. i'd like to add to it a listener, to turn on a pragma in sqlite. how should i proceed? thanks in advance,