My current approach is definitely not working. When using RESTful
style dev, I get the object and add attributes to it and a flush does
nothing.
def save(self, obj, **data):
session = sqlalchemy.object_mapper(obj).get_session()
obj.title = data.get('title')
session.flush()
No errors and the title has not changed in the database.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---