[google-appengine] Re: project structure

2010-06-05 Thread kaliopi
ncher and Google App Engine servers have their PYTHONPATH set to /appname, since the project was running fine when I would debug from within the Eclipse environment where I'm able to control the PYTHONPATH. On Jun 3, 10:35 pm, kaliopi wrote: > well i've been intermittently been worki

[google-appengine] Re: ImportError Module

2010-06-05 Thread kaliopi
ncher and Google App Engine servers have their PYTHONPATH set to /appname, since the project was running fine when I would debug from within the Eclipse environment where I'm able to control the PYTHONPATH. On Jun 4, 4:45 pm, kaliopi wrote: > I'm having an issue importing user-defin

[google-appengine] Re: ImportError Module

2010-06-04 Thread kaliopi
also, i have all my __init__.py files in my package directories. On Jun 4, 4:45 pm, kaliopi wrote: > I'm having an issue importing user-defined classes. > > My directory structure is as follows. > > src >    | >     -->model >     |         | >     |         -

[google-appengine] ImportError Module

2010-06-04 Thread kaliopi
I'm having an issue importing user-defined classes. My directory structure is as follows. src | -->model | | | --->person.py | -->views I'm using Eclipse with pydev and google app engine plugin. I also use GoogleAppEngineLauncher. I'm using python 2.5 as

[google-appengine] Re: project structure

2010-06-03 Thread kaliopi
I've encountered runs into this issue) > then it is petty non-obvious. Once you work out what's going on it > makes lots of sense :) - @kaliopi - the __init__.py is a bunch of code > that is run when the module is imported - so in many situations you > may be able to define

[google-appengine] Re: project structure

2010-06-03 Thread kaliopi
."  Also, I assume that you have a blank "__init__.py" > file in the models directory? > > Robert > > > > On Thu, Jun 3, 2010 at 3:40 PM, kaliopi wrote: > > Eclipse does not take issue with anything being wrong the way I import > > my class files e.g.

[google-appengine] Re: project structure

2010-06-03 Thread kaliopi
t; > > > On Wed, Jun 2, 2010 at 11:25 PM, kaliopi wrote: > > Hello, I'm trying to create directories that are practical to a python > > google app engine project structure. > > > For instance the directory structure I'm tryin

[google-appengine] project structure

2010-06-03 Thread kaliopi
Hello, I'm trying to create directories that are practical to a python google app engine project structure. For instance the directory structure I'm trying to implement is as follows: src | >includes | >stylesheets |