Hi all!
I’m going through Using
SQLAlchemy with Pylons tutorial and having problems with population of
database. (Data queries and modifications). Tables from tutorials were created
without problems.
I have methode in my hello.py file:
def loadinfo(self):
mr_jones = model.
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
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