On Tuesday 05 January 2010 12:42:45 Daniel Fetchinson wrote: > > The django people have a couple plugins that track changes to database > > records (who made them and when). It is used automatically in the admin. > > Is there a similar mechanism for TG2.1? > > If there is anything it has got to be an sqlalchemy feature. So if I > were you I would be looking around the sqlalchemy documentation for > this. For example another ORM, sqlobject, which is supported by tg1 > has a versioning plugin kind of tool which tracks versions of objects > in the db. I guess there is a similar tool for sqlalchemy too although > I'm not certain.
You can get events via a so-called MapperExtension. http://www.sqlalchemy.org/docs/05/reference/orm/interfaces.html Based on that, you can populate a generic change-table. Diez -- 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.

