On Feb 11, 11:51 pm, "Steve Bergman" <[EMAIL PROTECTED]> wrote:
> p.__dict__.update(kw) doesn't seem to work, BTW.
It bypasses SQLAlchemy, and p is not marked as changed object for the
session.
With the setattr solution just be careful not to override attributes
you don't want changed. Especially if
kw is coming from the web.
Nadav
http://www.thesamet.com/blog/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---