[Zope] how to get the author of a modification ?
Dieter Maurer
dieter@handshake.de
Sat, 5 Apr 2003 08:14:11 +0200
Sylvain Th=E9nault wrote at 2003-4-4 11:51 +0200:
> I'ld like to make a history of latest change on a web site. To do so I
> fetch the latest modified object using a catalog query on
> ModificationDate. The problem is that I'ld like to display the
> modification's author, which is not a property of the object. I guess
> that I need to find the transaction associated with the modification t=
o
> get this information but I don't know how to do that...
>=20
> Any idea ?
You can use the databases "history" method:
<object>._p_jar.db().history(...)
Look the "history" signature up in "ZODB.BaseStorage.BaseStorage".
Dieter