[sqlalchemy] Re: Weird behavior

2010-12-02 Thread Alvaro Reinoso
I think I see the error. Those are the whole tables: class User(rdb.Model): Represents the user rdb.metadata(metadata) rdb.tablename(users) id = Column(id, Integer, primary_key=True) name = Column(name, String(50)) email = Column(email, String(50))

Re: [sqlalchemy] Re: Weird behavior

2010-12-02 Thread Michael Bayer
On Dec 2, 2010, at 11:13 AM, Alvaro Reinoso wrote: I think I see the error. Those are the whole tables: class User(rdb.Model): Represents the user rdb.metadata(metadata) rdb.tablename(users) id = Column(id, Integer, primary_key=True) name = Column(name,

[sqlalchemy] Re: Weird behavior

2010-12-02 Thread Alvaro Reinoso
I just fixed the error. I didn't see it before. I initialize the userGroup attribute to new UseGroup instance in one of the migration functions. Thanks! On Dec 2, 11:22 am, Michael Bayer mike...@zzzcomputing.com wrote: On Dec 2, 2010, at 11:13 AM, Alvaro Reinoso wrote: I think I see the