Hello,
I have made it up to the point where I have to amend the wsgi.py files. I think I have done this correctly but for some reason it still will not run. I get: Error code: Unhandled Exception
My website was working ok on Heroku, and now when I have pushed it to my new PA git repo (as per tut), it will not run.
My wsgi.py file is as follows
import os
import sys
path = '/var/www/sites/aqa/'
if path not in sys.path:
sys.path.append(path)
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mvp_landing.settings")
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
If someone could help suggest a possible fix (i.e things to look out for when pushing django apps), or if someone from PA can look at my files that would be great.
Many thanks,
Jack Chambers