Hi I am trying to get PA working for the first time but am having trouble with the following error. I am running Python 2.7 and Django 1.9. I have checked that these are the versions that are running in my virtual environment.
2017-05-25 05:50:15,504: Error running WSGI application
2017-05-25 05:50:15,509: ImproperlyConfigured: Requested setting LOGGING_CONFIG, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
2017-05-25 05:50:15,509: File "/var/www/chriswardchrisward_pythonanywhere_com_wsgi.py", line 15, in <module>
2017-05-25 05:50:15,509: application = get_wsgi_application()
2017-05-25 05:50:15,509:
2017-05-25 05:50:15,510: File "/home/chriswardchrisward/.virtualenvs/SST/local/lib/python2.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application
2017-05-25 05:50:15,510: django.setup()
2017-05-25 05:50:15,510:
2017-05-25 05:50:15,511: File "/home/chriswardchrisward/.virtualenvs/SST/local/lib/python2.7/site-packages/django/__init__.py", line 17, in setup
2017-05-25 05:50:15,511: configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2017-05-25 05:50:15,511:
2017-05-25 05:50:15,511: File "/home/chriswardchrisward/.virtualenvs/SST/local/lib/python2.7/site-packages/django/conf/__init__.py", line 55, in __getattr__
2017-05-25 05:50:15,512: self._setup(name)
2017-05-25 05:50:15,512:
2017-05-25 05:50:15,512: File "/home/chriswardchrisward/.virtualenvs/SST/local/lib/python2.7/site-packages/django/conf/__init__.py", line 41, in _setup
2017-05-25 05:50:15,512: % (desc, ENVIRONMENT_VARIABLE))
Any help would be greatly appreciated