[Zope3-Users] How do I find out references to objects in ZODB

Michael Howitz mh at gocept.com
Tue May 13 02:49:27 EDT 2008


Am 02.05.2008 um 16:17 schrieb Yuan HOng:

> Hi,
>
> Is it possible to find out what other objects are referencing a
> particular object in ZODB?
>
> In particular, I want to prevent some content objects, like images,
> from being removed from the folder if they are used in some other
> content object, like a news article.
>
> Do I have to keep track of object referencing in ZODB myself through
> events or there are some built-in mechanism in ZODB to take care of
> this for me?


Hi,

maybe gocept.reference[1] can help you.


[1] http://pypi.python.org/pypi/gocept.reference/0.2

-- 
Yours sincerely,
Michael Howitz

gocept gmbh & co. kg · forsterstrasse 29 · 06112 halle/saale
www.gocept.com · fon: +49 345 12298898 · fax: +49 345 12298891



More information about the Zope3-users mailing list