Hello,
the error I am getting is identical to the one faced by many.
(My understanding is that my wsgi.py file is identical to the one displayed in this post:)
https://www.pythonanywhere.com/forums/topic/13032/
import os
import sys
#BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
#sys.path.append(BASE_DIR)
# assuming your Django settings file is at '/home/myusername/mysite/mysite/settings.py'
path = '/home/KamiBarut/munichliving'
if path not in sys.path:
sys.path.insert(0, path)
#sys.path.append(path)
#sys.path.append("/home/KamiBarut/munichliving")
os.environ["DJANGO_SETTINGS_MODULE"] = "munichliving.settings"
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
#import os
#import sys
#BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
#sys.path.append(BASE_DIR)
#os.environ['DJANGO_SETTINGS_MODULE'] = 'munichliving.settings'
#os.environ.setdefault("DJANGO_SETTINGS_MODULE", "munichliving.settings")
Thanks,
K.