Re: scgi and Quixote 2.6
Neil Schemenauer <[email protected]> Wed, 6 May 2009 22:48:31 -0600
| Newsgroups | gmane.comp.web.quixote.user |
|---|---|
| Message-ID | <[email protected]> |
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