ua py import sys sys path append dev import os os environ DJANGO_SETTI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#ua.py
import sys
sys.path.append('d:/dev')
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'ua.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()