Hello every one I am getting an error while starting the wsgi. I have tried by editing settings in the wsgi file with project.settings and app.settings. But, its not working. Any help would be appreciated.
import os
import sys
path = os.path.expanduser('~/my-first-blog')
path = '/home/marcosjags/my-first-blog/speechrecognition/voicerecognition'
if path not in sys.path:
sys.path.append(path)
os.environ['DJANGO_SETTINGS_MODULE'] = 'speechrecognition.settings'
from django.core.wsgi import get_wsgi_application
from django.contrib.staticfiles.handlers import StaticFilesHandler
application = StaticFilesHandler(get_wsgi_application())
[edited by admin: formatting]