Django 'ImproperlyConfigured' error after deployment on google app engine
Posted
by oreon
on Stack Overflow
See other posts from Stack Overflow
or by oreon
Published on 2010-05-28T01:15:24Z
Indexed on
2010/05/28
1:21 UTC
Read the original article
Hit count: 346
Hello,
I'm currently trying to get my first django project running on Google App Engine. I followed the instructions given here http://www.allbuttonspressed.com/projects/djangoappengine as best I could. Unfortunately I have run into some issues.
Locally everything runs fine, no problems. I then tried to deploy my project to the cloud.
This is where I'm totally stuck. I always receive 500 Server Errors coupled with google.appengine.runtime.DeadlineExceededError's.
Every now and then I get the following error message in my logs, which I think is the root of the problem :
<class 'django.core.exceptions.ImproperlyConfigured'>: ImportError projectyalanda.pricecompare: No module named projectyalanda.pricecompare
Obviously something is wrong in the way I reference my django app. Why this is only an issue in the cloud is a mystery to me.
The interesting part in the settings.py file is setup as following:
INSTALLED_APPS = (
'djangotoolbox',
# 'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'projectyalanda.pricecompare',
)
I absolutely can't figure out why django/appengine wouldn't be able to find the module, especially since everything works perfectly locally.
So where else can I look?
The local folder structure is of course also correct as automatically done by django, so maybe something is messed up during deployment?
How would I be able to find out?
Please help me ;-)
Thanks
© Stack Overflow or respective owner