import sys sys path append dev Python25 Lib sys path append dev Python

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import sys;
sys.path.append('D:\\dev\\Python25\\Lib')
sys.path.append('D:\\dev\\Python25\\Lib\\site-packages')
sys.path.append('D:\\dev\\Python25\\Lib\\site-packages\\django')
sys.path.append('d:\\dev\\ua')
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'ua.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()