[Grok-dev] Re: releasing 0.12.1
Sebastian Ware
sebastian at urbantalk.se
Wed Jun 4 09:25:35 EDT 2008
>
> Yup. When you've provided module aliases or BBB imports, the ZODB
> will be able to load pickles properly. When you change the resulting
> objects so that they have to be re-pickled, the ZODB will use the
> *new* location of the class.
>
> It is therefore sufficient to loop over all relevant objects (whose
> classes have moved) and simply do:
>
> obj._p_activate()
> obj._p_changed = True
Excellent!
Could someone show me what a module alias looks like? I have googled
but not found any example.
Mvh Sebastian
More information about the Grok-dev
mailing list