I am trying to get Django 1.1 working on Google App Engine. I followed instructions but, they didn't work.
我想让Django 1.1在Google App Engine上运行。我按照说明,但他们没有工作。
I get this error message:
我收到此错误消息:
ImportError: Could not import settings 'settings' (Is it on sys.path? Does it have syntax errors?): No module named settings
ImportError:无法导入设置'settings'(它是否在sys.path上?是否有语法错误?):没有模块命名设置
I bet Nick Johnson has the answer!
我打赌尼克约翰逊有答案!
1 个解决方案
#1
8
Someone named moraes on the #appengine channel of freenode helped me find the answer
在freenode的#appengine频道上有个名叫moraes的人帮助我找到了答案
All you have to do is put a empty 'settings.py' file in your root directory.
您所要做的就是在根目录中放入一个空的“settings.py”文件。
#1
8
Someone named moraes on the #appengine channel of freenode helped me find the answer
在freenode的#appengine频道上有个名叫moraes的人帮助我找到了答案
All you have to do is put a empty 'settings.py' file in your root directory.
您所要做的就是在根目录中放入一个空的“settings.py”文件。