@nazandr

Погмогите с ошибкой ImportError: No module named security?

import os, sys
sys.path.append('/home/andrey/Shop/')
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()

[Fri Apr 01 18:35:35.107935 2016] [wsgi:error] [pid 8779:tid 139975844677376] [client 90.154.72.10:15241] mod_wsgi (pid=8779): Exception occurred processing WSGI script '/home/andrey/Shop/django-shop.wsgi'., referer: http://django-shop.tk/page/2/
[Fri Apr 01 18:35:35.108032 2016] [wsgi:error] [pid 8779:tid 139975844677376] [client 90.154.72.10:15241] Traceback (most recent call last):, referer: http://django-shop.tk/page/2/
[Fri Apr 01 18:35:35.108064 2016] [wsgi:error] [pid 8779:tid 139975844677376] [client 90.154.72.10:15241]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 168, in __call__, referer: http://django-shop.tk/page/2/
[Fri Apr 01 18:35:35.108125 2016] [wsgi:error] [pid 8779:tid 139975844677376] [client 90.154.72.10:15241]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 44, in load_middleware, referer: http://django-shop.tk/page/2/
[Fri Apr 01 18:35:35.108159 2016] [wsgi:error] [pid 8779:tid 139975844677376] [client 90.154.72.10:15241]   File "/usr/lib/python2.7/dist-packages/django/utils/module_loading.py", line 26, in import_string, referer: http://django-shop.tk/page/2/
[Fri Apr 01 18:35:35.108189 2016] [wsgi:error] [pid 8779:tid 139975844677376] [client 90.154.72.10:15241]   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module, referer: http://django-shop.tk/page/2/
[Fri Apr 01 18:35:35.108243 2016] [wsgi:error] [pid 8779:tid 139975844677376] [client 90.154.72.10:15241]     __import__(name), referer: http://django-shop.tk/page/2/
[Fri Apr 01 18:35:35.108272 2016] [wsgi:error] [pid 8779:tid 139975844677376] [client 90.154.72.10:15241] ImportError: No module named security, referer: http://django-shop.tk/page/2/
  • Вопрос задан
  • 422 просмотра
Пригласить эксперта
Ответы на вопрос 1
@Cyber_bober
В ходе деплоя или в ходе разработки появилось?
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы