Hi,
I'm trying to deply a website. Here's my wsgi
# +++++++++++ DJANGO +++++++++++
# To use your own Django app use code like this:
import os
import sys
# assuming your Django settings file is at '/home/myusername/mysite/mysite/settings.py'
path = '/home/rickson/.virtualenvs/ypfvirtualenv/python-project/mysite/settings.py'
if path not in sys.path:
sys.path.append(path)
os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
## Uncomment the lines below depending on your Django version
###### then, for Django >=1.5:
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
###### or, for older Django <=1.4
#import django.core.handlers.wsgi
#application = django.core.handlers.wsgi.WSGIHandler()
Here is the file section that corresponds to the path
Here is the error I get on hitting wsgi inside my virtual env or on hitting migrate (2nd image)
What could be wrong? mysite is the folder that contains the website i.e settings.url, wsgi.url etc.
Here's an image of my Web configuration