No module named 'sopds'

7 years 10 months ago - 7 years 10 months ago #1362 by Колмаков
Колмаков replied the topic: No module named 'sopds'
"""
WSGI config for sopds project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
docs.djangoproject.com/en/1.9/howto/deployment/wsgi/
"""

import os
import sys

project_home = u'/var/www/sopds2'
if project_home not in sys.path:
sys.path.append(project_home)

from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sopds.settings")
application = get_wsgi_application()
Last Edit: 7 years 10 months ago by Колмаков.

Please Войти or Create an account to join the conversation.

  • Колмаков
  • Колмаков's Avatar
  • Offline
  • Новый участник
  • Новый участник
More
Time to create page: 0.073 seconds