Hi,
I have a simple controller method like this:
@expose()
def insert_a_record(self):
DBSession.connection().execute(foo_table.insert({'user_id':2,
'org_id': 2}))
return "Successfu!"
This controller returns successfully, but in the database the record
is not inserted. Unable to understand why. Need help.
thanks,
Sanjay
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---