框架:Django 1.11
服務(wù)器:SAE
微信公眾開(kāi)發(fā)平臺(tái)
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
當(dāng)我用瀏覽器打開(kāi)下面鏈接可以看到Hello, world!

image.png

image.png
但是當(dāng)我按照http://www.sinacloud.com/doc/sae/python/tutorial.html步驟建好上面的config.yaml 和index.wsgi 兩個(gè)文件,打開(kāi) http://XXXXX.sinaapp.com ,結(jié)果如下

image.png
config.yaml 和index.wsgi 兩個(gè)文件已經(jīng)使用git工具上傳到新浪云
請(qǐng)問(wèn)可以有哪些解決方法?