[Zope] - newbie PCGI problems (fwd)

skip@calendar.com (Skip Montanaro) skip@calendar.com (Skip Montanaro)
Tue, 8 Dec 1998 10:57:19 -0500 (EST)


    >> >    import OFS.SimpleItem, Persistence, Acquisition, AccessControl.Role
    >> > ImportError: (<class exceptions.ImportError at ab540>, 
    >> > 'No module named Persistence') 

I think you want

    from Globals import Persistent
    ....
    ... do stuff with Persistent ...

instead of

    import Persistence
    ....
    ... do stuff with Persistence.Persistent ...

Just figured this out myself.

Skip Montanaro	   | Mojam: "Uniting the World of Music" http://www.mojam.com/
skip@calendar.com  | Musi-Cal: http://concerts.calendar.com/
518-372-5583