首页 > 代码库 > python_django_sae入口配置

python_django_sae入口配置

import sysimport os.path os.environ[DJANGO_SETTINGS_MODULE] = dalihelp.settingssys.path.append(os.path.join(os.path.dirname(__file__),dalihelp)) import saefrom dalihelp import wsgi application = sae.create_wsgi_app(wsgi.application)

 

name: hiccdaliversion: 1 libraries:- name: django   version: "1.5"handlers:- url: /static/  static_path: ./

 

python_django_sae入口配置