hey, does anyone know how I can have an object that will not store its status history. for example, a while back I was asking about counters. I know there are several products out there, but I want to write my own thing to learn. I have somewhere the variable counter. Whenever I update it, it keeps a history in Data.fs (so I was told). Is there a way to make that counter not keeping track of its history? stephan -- Stephan Richter iXL - Software Designer and Engineer
If you prepend your variable with '_v' it is not stored in the ZODB. But if you restart zope the value is lost. You can store it on disk, with the help of an external method. __Janko
jhauser@ifm.uni-kiel.de wrote:
If you prepend your variable with '_v' it is not stored in the ZODB. But if you restart zope the value is lost. You can store it on disk, with the help of an external method.
Actually, that should be '_v_'. Note that objects whose names begin with '_' are not accessable in DTML, you would need to access it from Python. -Michel
__Janko
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
jhauser@ifm.uni-kiel.de -
Michel Pelletier -
Stephan Richter