3 Sep
2004
3 Sep
'04
8:46 a.m.
John Schinnerer wrote:
I have a python product that I have modified (most importantly by adding some properties). Some instances already exist that were created prior to adding these properties.
I have heard it is possible to update the existing instances (so that they get the new properties) - is this true?
Yep, using an external method, and maybe a bit of help from: http://www.zope.org/Members/chrisw/UpdateSupport Also, you could just add class variables to your object's class which have sensible default. cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk