[ZODB-Dev] Migrating classes in ZODB 3.5.1
Syver Enstad
syver at inout.no
Thu Nov 10 05:10:55 EST 2005
Lennart Regebro wrote:
>This may not help, but anyway. :)
>
> In Zope, I did this: I moved the class to the module I wanted it. I
>also kept a "dummy class" in the old place like so:
>
>from newplace import class
>
>so that the old objects worked. Then I wrote a script to go through
>the ZODB and recreate every object. I then could remove the dummy
>import.
>
>
>
That sounds good. How do you recreate every object in the ZODB?
More information about the ZODB-Dev
mailing list