[sqlalchemy] Re: can't setup simple one to many relation

2008-01-29 Thread Alexandre Conrad
Hello Max, AFAIR, I've had similar problems latelty when having a table with composite primary keys and running SQLite. I think Mike told me SQLite didn't support that. I'm no SQLite user, but I had this problem when I had to make a portable test case with SQLite in memory. If this can put

[sqlalchemy] Re: can't setup simple one to many relation

2008-01-29 Thread Max Ischenko
On 29 янв, 10:47, Alexandre Conrad [EMAIL PROTECTED] wrote: Hello Max, AFAIR, I've had similar problems latelty when having a table with composite primary keys and running SQLite. I think Mike told me SQLite didn't support that. I'm no SQLite user, but I had this problem when I had to

[sqlalchemy] Re: can't setup simple one to many relation

2008-01-29 Thread Alexandre Conrad
Then I don't know. :) Max Ischenko wrote: On 29 янв, 10:47, Alexandre Conrad [EMAIL PROTECTED] wrote: Hello Max, AFAIR, I've had similar problems latelty when having a table with composite primary keys and running SQLite. I think Mike told me SQLite didn't support that. I'm no SQLite user,

[sqlalchemy] Re: can't setup simple one to many relation

2008-01-29 Thread Max Ischenko
On Jan 29, 2008 3:46 PM, jason kirtland [EMAIL PROTECTED] wrote: The mapped backref is 'meetup' but the class's __init__ is setting 'meeting': Duh! Thanks a lot. Max. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[sqlalchemy] Re: can't setup simple one to many relation

2008-01-29 Thread jason kirtland
Max Ischenko wrote: Hello, I'm struggling with a simple one to many relation, pls help! active_meetup = MeetupEvent(...) reg = MeetupRegistration(meeting=active_meetup) db.save(reg) *class 'sqlalchemy.exceptions.OperationalError': (OperationalError) (1048, Column 'meeting_id'