Re: Using SQLAlchemy with Pylons -> Data queries and modifications

2009-01-05 Thread Dalius Dobravolskas
Hello, Vadim, > def loadinfo(self): > > mr_jones = model.Person() > > mr_jones.name = 'Mr Jones' > > model.meta.Session.save(mr_jones) > > model.meta.Session.commit() The problem is in how you have created session. Since I don't know what's your SqlAlchemy version

RE: Using SQLAlchemy with Pylons -> Data queries and modifications

2009-01-06 Thread Vadim Khaskel
To: pylons-discuss@googlegroups.com > Subject: Re: Using SQLAlchemy with Pylons -> Data queries and modifications > > > Hello, Vadim, > > > def loadinfo(self): > > > > mr_jones = model.Person() > > > > mr_jones