if mysite not in sys.path:
    sys.path.insert(0, mysite)
mysite = 'C:/xampp/htdocs/django/mysite'
if mysite not in sys.path:
    sys.path.insert(0, mysite)
os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
запустить django с xampp на windows