Difficulties with Django on Google App Engine
Posted
by Rosarch
on Stack Overflow
See other posts from Stack Overflow
or by Rosarch
Published on 2010-05-18T20:43:28Z
Indexed on
2010/05/18
21:20 UTC
Read the original article
Hit count: 197
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?
© Stack Overflow or respective owner