import os import sys
path = '/home/alvinzhan/alvin_website' if path not in sys.path: sys.path.append(path)
os.environ['DJANGO_SETTINGS_MODULE'] = 'alvin_website.settings'
from django.core.wsgi import get_wsgi_application application = get_wsgi_application()
Sorry, I'm quite sure that I have type the correct path and directotries, but I still get ModuleNotFoundError: No module named 'alvin_website.settings' in the error.log. Can anybody help me please!!!!
My python version is 3.6 and Django is 2.0.