bae吧 关注:1,300贴子:8,157
  • 1回复贴,共1

Django部署之后失败怎么办?

只看楼主收藏回复

地址:protest.duapp.com
==========错误信息=============
Execute 'application' failedTraceback (most recent call last):
File "/home/admin/runtime/modules/bae/core/wsgi.py", line 72, in __call__ return self.app(environ, start_response)
File "/home/bae/app/deps/django/core/handlers/wsgi.py", line 170, in __call__ self.load_middleware()
File "/home/bae/app/deps/django/core/handlers/base.py", line 49, in load_middleware for middleware_path in settings.MIDDLEWARE_CLASSES:
File "/home/bae/app/deps/django/conf/__init__.py", line 48, in __getattr__ self._setup(name)
File "/home/bae/app/deps/django/conf/__init__.py", line 44, in _setup self._wrapped = Settings(settings_module) File "/home/bae/app/deps/django/conf/__init__.py", line 92, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name)ImportError: No module named pro.settings


1楼2015-09-18 00:43回复
    遇到同样的错误


    IP属地:山东2楼2015-09-23 13:22
    回复