I'm having an odd problem with SQLAlchemy. When i'm using tg-admin
shell i can edit and create objects and save them just fine using
sesison.query(class)[id] and session.flush(). When i try to do this
from a turbogears controller nothing happens. Ive put in debug
statements and i know the query works. toe object gets modified and
then flush gets called only nothing gets written to the database...
Does anyine know what the problem might be?

item = session.query(myClass)[myID]
item.foo='test'
session.flush()

that works fine i the shell but not in the controller and i have no
idea why.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to