You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
314 B
16 lines
314 B
import os
|
|
import sys
|
|
|
|
path = 'XXXXXX'
|
|
if path not in sys.path:
|
|
sys.path.append(path)
|
|
|
|
path = 'YYYYYYY/'
|
|
if path not in sys.path:
|
|
sys.path.append(path)
|
|
|
|
|
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'ZZZZZZZZZZZZZZ.settings'
|
|
|
|
import django.core.handlers.wsgi
|
|
application = django.core.handlers.wsgi.WSGIHandler()
|
|
|