[sqlalchemy] Re: How to separate models into own modules?

2010-10-31 Thread jgs9000
Hi Daniel I do it like this: http://pastie.org/1263024 not 100% what's up with yours, but my way works Jon On Nov 1, 6:08 am, Daniel Meier herr.schn...@gmail.com wrote: Hi list I have tried the examples in the ORM tutorial and I'm wondering how I can separate different models into

[sqlalchemy] SAWarning: Did not recognize type

2010-10-06 Thread jgs9000
Hi I've seen a post or two about this warning, and was wondering if there is any update to the recommended ways to deal with it. Specifically - I'm using Python 2.7, SQLAlchemy 0.6.3, Postgres 8.1.18 and using 'autoload' to reflect the underlying table. I'm hitting this warning for the

[sqlalchemy] Re: declarative autoloading table class with composite foreign/primary key

2010-08-04 Thread jgs9000
PM, jgs9000 wrote: Hi I'm relatively new to SQLAlchemy, so thanks in advance for any help with this issue. I'm trying to construct a class to model a legacy table which has a composite primary key which is also a composite foreign key referencing the composite primary key

[sqlalchemy] declarative autoloading table class with composite foreign/primary key

2010-08-03 Thread jgs9000
Hi I'm relatively new to SQLAlchemy, so thanks in advance for any help with this issue. I'm trying to construct a class to model a legacy table which has a composite primary key which is also a composite foreign key referencing the composite primary key of a second table. I'm trying to define