[edited by admin: formatting]
import sys
import os
path = '/home/rawalonly/my-frist-blog/mysite/settings'
if path not in sys.path:
sys.path.append(path)
#os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings")
from django.core.wsgi import get_wsgi_application
from django.contrib.staticfiles.handlers import StaticFilesHandler
application = StaticFilesHandler(get_wsgi_application())