Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
index.wsgi 237 Bytes
Copy Edit Web IDE Raw Blame History
运维咖啡吧 authored 2015-01-13 12:08 . 调整目录结构
import os
import sys
import sae
sys.path.append(os.path.join(os.path.dirname(__file__), 'website'))
os.environ['DJANGO_SETTINGS_MODULE'] = 'website.settings'
from website import wsgi
application = sae.create_wsgi_app(wsgi.application)

Comment ( 0 )

Sign in for post a comment