[英]Django basic WSGI Handler for GAE setup
I've been searching and trying for about 3 hours to get this setup and nothing seems to work. 我一直在搜索并尝试大约3个小时来进行此设置,似乎没有任何工作。 Can someone please just post a basic main.app and app.yaml file to get started with Python 2.7/Django 1.2 on GAE.
有人可以发一个基本的main.app和app.yaml文件来开始使用GAE上的Python 2.7 / Django 1.2。
I've got an example in the Rietveld source code: http://code.google.com/p/rietveld/source/browse/main.py?name=py27#65 我在Rietveld源代码中有一个示例: http : //code.google.com/p/rietveld/source/browse/main.py? name = py27#65
The app.yaml line that selects this is here: http://code.google.com/p/rietveld/source/browse/app.yaml?name=py27#30 选择此内容的app.yaml行位于: http : //code.google.com/p/rietveld/source/browse/app.yaml? name = py27#30
Note that the Django version is also selected in app.yaml: http://code.google.com/p/rietveld/source/browse/app.yaml?name=py27#42 请注意,在app.yaml中也选择了Django版本: http : //code.google.com/p/rietveld/source/browse/app.yaml? name = py27#42
You should use django-nonrel if you want to use django in AppEngine. 如果你想在AppEngine中使用django,你应该使用 django-nonrel。 Their installation page for AppEngine is here .
他们的AppEngine安装页面就在这里 。
I have put a simple script to Github to automatize some of the steps in the guide. 我给Github 写了一个简单的脚本来自动化指南中的一些步骤。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.