Hi friends. <br/><br/> Can I help we please. My project getting exception. 
<br/><br/> Exception Detail: <br/><br/> 2018-05-26 17:43:02,582: Error 
running WSGI application <br/> 2018-05-26 17:43:02,583: 
ModuleNotFoundError: No module named 'otomabak.settings' <br/> 2018-05-26 
17:43:02,583: File "/var/www/kadirguloglu_pythonanywhere_com_wsgi.py", line 
12, in <module> <br/> 2018-05-26 17:43:02,583: application = 
StaticFilesHandler(get_wsgi_application()) <br/> 2018-05-26 17:43:02,583: 
<br/> 2018-05-26 17:43:02,583: File 
"/home/kadirguloglu/otomabak/otomabakenv/lib/python3.6/site-packages/django/core/wsgi.py",
 
line 12, in get_wsgi_application <br/> 2018-05-26 17:43:02,583: 
django.setup(set_prefix=False) <br/> 2018-05-26 17:43:02,584: <br/> 
2018-05-26 17:43:02,584: File 
"/home/kadirguloglu/otomabak/otomabakenv/lib/python3.6/site-packages/django/
*init*.py", line 19, in setup <br/> 2018-05-26 17:43:02,584: 
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)<br/> 
2018-05-26 17:43:02,584: <br/> 2018-05-26 17:43:02,584: File 
"/home/kadirguloglu/otomabak/otomabakenv/lib/python3.6/site-packages/django/conf/
*init*.py", line 56, in *getattr*<br/> 2018-05-26 17:43:02,584: 
self._setup(name)<br/> 2018-05-26 17:43:02,584: <br/> 2018-05-26 
17:43:02,584: File 
"/home/kadirguloglu/otomabak/otomabakenv/lib/python3.6/site-packages/django/conf/
*init*.py", line 43, in _setup<br/> 2018-05-26 17:43:02,584: self._wrapped 
= Settings(settings_module)<br/> 2018-05-26 17:43:02,585: <br/> 2018-05-26 
17:43:02,585: File 
"/home/kadirguloglu/otomabak/otomabakenv/lib/python3.6/site-packages/django/conf/
*init*.py", line 106, in *init*<br/> 2018-05-26 17:43:02,585: mod = 
importlib.import_module(self.SETTINGS_MODULE)<br/> 2018-05-26 17:43:02,585: 
**********************<br/> 2018-05-26 17:43:02,585: If you're seeing an 
import error and don't know why,<br/> 2018-05-26 17:43:02,585: we have a 
dedicated help page to help you debug: <br/> 2018-05-26 17:43:02,585: 
https://help.pythonanywhere.com/pages/DebuggingImportError/<br/> 2018-05-26 
17:43:02,585: ********<br/>

<br><br> WSGI file: <br><br> import os<br> import sys<br><br>

path = os.path.expanduser('~/otomabak')<br> if path not in sys.path:<br> 
&nbsp;&nbsp; sys.path.append(path)<br>

os.environ['DJANGO_SETTINGS_MODULE'] = 'otomabak.settings'<br> <br> from 
django.core.wsgi import get_wsgi_application<br> from 
django.contrib.staticfiles.handlers import StaticFilesHandler<br> 
application = StaticFilesHandler(get_wsgi_application())<br>

<br><br><br> <strong><h1>Thanks for help</h1></strong>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e8f137b0-59a8-45d0-a017-6a1e70c0477c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to