将 Django-nonrel 部署到 Google App Engine 时找不到页面
我是 Google App Engine 的新手,但过去曾使用过 Django,因此我尝试将 Django-nonrel 与 GAE 一起使用。
网上的信息不多,但已成功遵循这些教程:
http ://blog.sidmitra.com/getting-up-and-running-with-django-nonrel http://www.allbuttonspressed.com/projects/djangoappengine
我已成功设置好并可以在本地获取“它有效”页面。但是,当我将项目上传到 Google App Engine 服务器时,我得到一个包含以下内容的页面:
“Nonrel-testapp 无法找到您请求的页面。 由 Django-nonrel 提供支持”
我使用了以下内容来上传: python2.5管理.py部署
我做错了什么? 有上传 Django 应用程序的指南吗?
谢谢
I'm a newbie to Google App Engine but have played around with Django in the past so I am trying to use Django-nonrel with GAE.
There's not much information online, but have followed these tutorials successfully:
http://blog.sidmitra.com/getting-up-and-running-with-django-nonrel
http://www.allbuttonspressed.com/projects/djangoappengine
I have managed to get setup fine and can get the 'It worked' page on local. However, when I upload my project to the Google App Engine Server I get a page with the following:
"Nonrel-testapp
The page you requested could not be found.
Powered by Django-nonrel"
I have used the following to upload:
python2.5 manage.py deploy
What am I doing wrong?
Are there any guides for uploading your Django app?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你没有做错任何事。在生产服务器上,DEBUG 为 False,因此您不会看到那个“它有效”的小页面。因为你不是第一个对此感到恼火的人,所以我刚刚添加了一个自定义的“它有效!”页面也显示在生产服务器上。只需更新您的 testapp 源即可查看它。
You're not doing anything wrong. On the production server DEBUG is False, so you won't see that little "It worked" page. Since you're not the first one who was irritated by this I've just added a custom "It works!" page which also shows up on the production server. Just update your testapp source to see it.