Answer the question
In order to leave comments, you need to log in
How to upload to hosting?
Hello, I'm uploading my site to jino hosting, which is made on django, and that's the problem.
Here is the wsgi file
import os, sys
virtual_env = os.path.expanduser('~/domains/домен_сайта/ipromaster/myvenv')
activate_this = os.path.join(virtual_env, 'bin/activate_this.py')
execfile(activate_this, dict(__file__=activate_this))
sys.path.insert(0, os.path.join(os.path.expanduser('~'), 'ipromaster/ipromaster_project'))
os.environ['DJANGO_SETTINGS_MODULE'] = 'ipromaster_project.settings'
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
[Wed Aug 07 12:53:51 2019] [error] [client 66.249.69.235] File "/home/users/v/имя_подключения/domains/домен/django.wsgi", line 6, in <module>
[Wed Aug 07 12:53:51 2019] [error] [client 66.249.69.235] from django.core.wsgi import get_wsgi_application
[Wed Aug 07 12:53:51 2019] [error] [client 66.249.69.235] ImportError: No module named django.core.wsgi
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question