(Wed, Jul 18, 2007 at 12:26:06PM +0300) Tudor Gabriel wrote/schrieb/egrapse:
To learn zope I am trying to write a basic library page.
I wrote a book_py class ... and from search_books_py try to return a
list of books to show in a ZPT.
now let's suppose all the files (all the py and zpt
--On 18. Juli 2007 12:26:06 +0300 Tudor Gabriel [EMAIL PROTECTED] wrote:
To learn zope I am trying to write a basic library page.
I wrote a book_py class ... and from search_books_py try to return a
list of books to show in a ZPT.
now let's suppose all the files (all the py and zpt files)
On Wed, Jul 18, 2007 at 12:26:06PM +0300, Tudor Gabriel wrote:
I've searched Zope Help and it mentions in there that i have to make a
new dir in Products called whatever and add to __init__.py the
allowimport or something like that, for my package.
i tried that too ... same error (haven't
Tudor Gabriel wrote at 2007-7-18 12:26 +0300:
...
now let's suppose all the files (all the py and zpt files) are in the
same directory:Library
in search_books_py i tried importing the book class in this ways:
from book_py import *
from Library.book_py import *
from here.book_py import *
from