django-nonrel 500 server error on Google App deployment -
I am a newbie with the problem of working with Django-nonrel on Google App Engine.
I created a new app called "Hello".
1) I have created a view in Hello world called view.py:
import from django.http HttpResponse
HTTPS ("Hello World")
2) I have linked with it in urls.py:
import from blockquote> django.conf.urls.defaults *Import Hello from helloapp.views
urlpatterns = patterns ('',
& nbsp; & nbsp;; & nbsp; (r '^ Hello / $ ', Hello),
)
This works fine at the local level, but I am receiving 500 server errors.
In the GAE log I think I'm getting an import error
ImportError: a module named helloapp.views
This is confusing because as It has been told, it works locally well.
Help.
Perhaps try:
Locally, your thoughts are in a hello directory but when it is uploaded to the app engine, it is placed in a directory along with this version number, . Observation is not present:
/base/data/home/apps/helloapp/1.23456789/views .py
Comments
Post a Comment