Alec Munro wrote:
I've tried it with PersistentDicts and PersistentMappings, and no luck.
It's very odd, I think there must be some fundamental step towards the
use of a mapping in Zope that I'm missing.
The fundamental step to provide persistency is to derive the target
classes from persistent.Persistent. Like Tom Dossis suggested:
from persistent import Persistent
from persistent.dict import PersistentDict
class Demo(Persistent):
def __init__(self):
self.d = PersistentDict()
Regards,
Dominik
begin:vcard
fn:Dominik Huber
n:Huber;Dominik
email;internet:[EMAIL PROTECTED]
tel;work:++41 56 534 77 30
x-mozilla-html:FALSE
version:2.1
end:vcard
_______________________________________________
Zope3-users mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/zope3-users