6 Jun
2001
6 Jun
'01
8:43 p.m.
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Oliver Bleutgen
Right now I have to manually assign a newly added property to already existing instances, because adding the property in the _properties class attribute breaks the properties management tab of these instances. Am I missing something? What do others do?
class yourClass(parentClass): _properties = parentClass._properties + ( {'id':'yourProperty', 'type': 'string'}, ) def __init__(self): self.yourProperty = '' Something like this perhaps? regards Max M