ok- taking a look at your error log, the most recent error message is:
2018-05-01 16:45:23,152: ***************************************************
2018-05-01 17:33:21,379: Error running WSGI application
2018-05-01 17:33:21,403: ImportError: No module named settings
2018-05-01 17:33:21,403: File "/var/www/mezzanine_pythonanywhere_com_wsgi.py", line 47, in <module>
2018-05-01 17:33:21,403: application = get_wsgi_application()
2018-05-01 17:33:21,403:
2018-05-01 17:33:21,403: File "/home/mezzanine/.virtualenvs/myenv/local/lib/python2.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application
2018-05-01 17:33:21,404: django.setup(set_prefix=False)
2018-05-01 17:33:21,404:
2018-05-01 17:33:21,404: File "/home/mezzanine/.virtualenvs/myenv/local/lib/python2.7/site-packages/django/__init__.py", line 22, in setup
2018-05-01 17:33:21,404: configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2018-05-01 17:33:21,404:
2018-05-01 17:33:21,404: File "/home/mezzanine/.virtualenvs/myenv/local/lib/python2.7/site-packages/django/conf/__init__.py", line 56, in __getattr__
2018-05-01 17:33:21,404: self._setup(name)
2018-05-01 17:33:21,404:
2018-05-01 17:33:21,405: File "/home/mezzanine/.virtualenvs/myenv/local/lib/python2.7/site-packages/django/conf/__init__.py", line 41, in _setup
2018-05-01 17:33:21,405: self._wrapped = Settings(settings_module)
2018-05-01 17:33:21,405:
2018-05-01 17:33:21,405: File "/home/mezzanine/.virtualenvs/myenv/local/lib/python2.7/site-packages/django/conf/__init__.py", line 110, in __init__
2018-05-01 17:33:21,405: mod = importlib.import_module(self.SETTINGS_MODULE)
2018-05-01 17:33:21,405: ***************************************************
2018-05-01 17:33:21,405: If you're seeing an import error and don't know why,
2018-05-01 17:33:21,406: we have a dedicated help page to help you debug:
2018-05-01 17:33:21,406: https://help.pythonanywhere.com/pages/DebuggingImportError/
2018-05-01 17:33:21,406: ***************************************************
What this means is that we (the WSGI file) can't find your settings.py module/file. The reason why we can't find it is most likely that in your wsgi.py, you do not have the correct path & DJANGO_SETTINGS_MODULE
variable set correctly.
Without really delving into your code and reading the files etc, the closest I can say is:
Let's say your settings.py file is at
/home/mezzanine/mysite/mysite/settings.py
Then the path that you are appending to sys.path should be
And the DJANGO_SETTINGS_MODULE
environment variable should be
os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings.py'