Hi,
I am trying to deploy and publish a small app, I am doing this by referencing a tutorial on Djangogirls.com; I am getting a 'module not found error' following is the extract of the error log. I am new to Django and doing this for the first time, Kindly help me. Thanks
2016-09-24 12:49:38,038 :Error running WSGI application
Traceback (most recent call last):
File "/bin/user_wsgi_wrapper.py", line 154, in call
app_iterator = self.app(environ, start_response)
File "/bin/user_wsgi_wrapper.py", line 170, in import_error_application
raise e
File "/bin/user_wsgi_wrapper.py", line 154, in call
app_iterator = self.app(environ, start_response)
File "/bin/user_wsgi_wrapper.py", line 170, in import_error_application
raise e
File "/bin/user_wsgi_wrapper.py", line 154, in call
app_iterator = self.app(environ, start_response)
File "/bin/user_wsgi_wrapper.py", line 170, in import_error_application
raise e
File "/bin/user_wsgi_wrapper.py", line 179, in <module>
application = load_wsgi_application()
File "/bin/user_wsgi_wrapper.py", line 175, in load_wsgi_application
return import(os.environ['WSGI_MODULE'], globals(), locals(), ['application']).application
File "/var/www/ravindranene_pythonanywhere_com_wsgi.py", line 18, in <module>
application = StaticFilesHandler(get_wsgi_application())
File "/home/ravindranene/my-first-blog/myvenv/lib/python3.5/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application
django.setup()
File "/home/ravindranene/my-first-blog/myvenv/lib/python3.5/site-packages/django/init.py", line 17, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/home/ravindranene/my-first-blog/myvenv/lib/python3.5/site-packages/django/conf/init.py", line 55, in getattr
self._setup(name)
File "/home/ravindranene/my-first-blog/myvenv/lib/python3.5/site-packages/django/conf/init.py", line 43, in _setup
self._wrapped = Settings(settings_module)
File "/home/ravindranene/my-first-blog/myvenv/lib/python3.5/site-packages/django/conf/init.py", line 99, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/home/ravindranene/my-first-blog/myvenv/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: No module named 'mysite'