Hello,
i'm really new to python and django, expecially deploying websites with this method.
I've create a web aplication that totally works on my pc. here you can find the files: https://github.com/marcomalaguti/marcomalaguti
now, I followed this tutorial ( https://tutorial.djangogirls.org/en/deploy/ ) to deploy the website, but obviously something went wrong.
as per error log file, the problem is:
ImportError: No module named 'mysite'
this is the wsgi file on the pythoneverywhere server:
import os
import sys
path = '/home/marcomalaguti/marcomalaguti' # usa il tuo username qui
if path not in sys.path:
sys.path.append(path)
os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
from django.core.wsgi import get_wsgi_application
from whitenoise.django import DjangoWhiteNoise
application = DjangoWhiteNoise(get_wsgi_application())
google says that 'mysite.settings' is correct.
Could you please help me to understand what's wrong?
thank you in advance!
[edited by admin: formatting]