[ZODB-Dev] import problem?

db at zetamonks.com db at zetamonks.com
Fri Apr 2 13:51:57 EST 2004


On Thu, Apr 01, 2004 at 02:31:18PM +0200, Thomas Guettler wrote:
> 
> ZODB stores the name of the class. The code
> where you stored the user for the first
> time, used "User()".  If you change the
> namespace (first example) to user.User()
> ZODB can't find the class. That's a bit
> different from non-persistent python.
> 
>  HTH,
>    Thomas


Yep that helps.  Thanks Thomas!  I guess I'll have to choose an "import
style" for all my Persistent class and stick to it.

--
daniel



More information about the ZODB-Dev mailing list