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:

import from imports

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

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -