[Zope-dev] persistence
Michel Pelletier
michel@digicool.com
Thu, 28 Jun 2001 13:53:08 -0700 (PDT)
On Thu, 28 Jun 2001, Mark McEahern wrote:
> I'm a Zope and Python newbie and I'm trying to utilize Persistence, but I've
> seen two different ways:
>
> import ZODB
> from Persistence import Persistent
>
> vs.
>
> from Globals import Persistent
>
> Are these different? If so, which is "better"? Please don't ask me to
> define better. ;-)
If you're just using Zope, both are acceptable. If you are just using
ZODB, use the first.
-Michel