On Tuesday 18 April 2006 10:44, Marco Mariani wrote:
Should I set form_fields['photo'].custom_widget ? To what?
You have several choices, though this is a good one. I am not sure that there
is an ImageWidget, but I think there is a file one. In one of my latest
projects, we wrote some custom
To answer my own question - just for the record, in case
someone is having the same difficulties - I found redefining
__getstate__ in Family solved my problem:
...
from zope.security.proxy import removeSecurityProxy
class Family(Persistent):
...
def __getstate__(self):