Difficulties with Django on Google App Engine
- by Rosarch
I have a Django project that works fine. I'm trying to import it to Google App Engine.
I run it on the dev server, and I get an import error:
ImportError at /
No module named mysite.urls
This is the folder structure of mysite/:
app.yaml
<DIR> myapp
index.yaml
main.py
manage.py
<DIR> media
settings.py
urls.py
__init__.py
app.yaml:
application: mysite
version: 1
runtime: python
api_version: 1
handlers:
- url: .*
script: main.py
from settings.py:
ROOT_URLCONF = 'mysite.urls'
What am I doing wrong?