1
c 2012-12-10 20:49:21 +08:00
name: ***
version: 1 libraries: - name: django version: "1.4" |
2
xingzhi 2012-12-10 20:50:54 +08:00
搭建了1.4的,不知道是不是你说的1.42
XXX 是我的项目名。 config.yaml: --- name: XXX version: 1 libraries: - name: "django" version: "1.4" handlers: - url: /static static_dir: /XXX/static ... index.wsgi: import sae from XXX import wsgi application = sae.create_wsgi_app(wsgi.application) |
3
c 2012-12-10 20:52:25 +08:00
#!/usr/bin/env python
# coding:utf-8 import os import django.core.handlers.wsgi import sae os.environ['DJANGO_SETTINGS_MODULE'] = 'sae_119797.settings_sae' application = sae.create_wsgi_app(django.core.handlers.wsgi.WSGIHandler()) |
4
keys OP github上有个1.4的事例,没有1.4.2的,我试过,don't work
|