框架:Django 1.11
服務器:SAE
微信公眾開發平臺
1.config.yaml
name: myseasite
version: 1
2.index.wsgi
import sae
def app(environ, start_response):
status = '200 OK'
response_headers = [('Content-type', 'text/plain')]
start_response(status, response_headers)
return ['Hello, world!']
application = sae.create_wsgi_app(app)
image.png
當我用瀏覽器打開下面鏈接可以看到Hello, world!
image.png
image.png
但是當我按照http://www.sinacloud.com/doc/sae/python/tutorial.html步驟建好上面的config.yaml 和index.wsgi 兩個文件,打開 http://XXXXX.sinaapp.com ,結果如下
image.png
config.yaml 和index.wsgi 兩個文件已經使用git工具上傳到新浪云
請問可以有哪些解決方法?