在本地运行一切正常。
但是上传到sae上,就提示找不到module
Traceback (most recent call last):
File "/data1/www/htdocs/43/dragonblog/100/index.wsgi", line 2, in <module>
from dragon import wsgi
ImportError: No module named dragon
本地from dragon import wsgi没问题,问题出现在哪?
——————————————————
config.yaml内容如下
libraries:
- name: "django"
version: "1.4"
index.wsgi内容如下
import sae
from dragon import wsgi
application = sae.create_wsgi_app(application)