durusmail: quixote-users: scgi and Quixote 2.6
scgi and Quixote 2.6
2009-05-06
2009-05-06
2009-05-07
2009-05-07
scgi and Quixote 2.6
Neil Schemenauer
2009-05-07
On Thu, May 07, 2009 at 11:17:58AM +0800, dream fish wrote:
> [...] so i can't put my code in multi-folders like
> myapp/scripts/scgi_server.py, mapp/ui/__init__.py,
> mapp/ui/root.ptl (i did changed "from root import RootDirectory"
> to "from myapp.ui.root import RootDirectory" and it complained
> "ImportError: No module named myapp.ui", what else should i do?)

You need to put myapp into your Python path somehow.  You could use
the PYTHONPATH environment variable, for example.

> 2.is it necessary to use "QuixoteHandler"? and how?

No.

  Neil
reply