[Zope3-Users] Re: updating a zodb with a SchemaManager

Fred Drake fdrake at gmail.com
Thu Mar 6 14:54:23 EST 2008


On Thu, Mar 6, 2008 at 3:11 AM, Jürgen Kartnaller <juergen at kartnaller.at> wrote:
>  You can do this on your instance :
>
>   del obj.__dict__['attr1']

Of course, if that's *all* you do to it, you'll need to set the
changed flag yourself:

    obj._p_changed = True


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller


More information about the Zope3-users mailing list