2010-07-22 05:09:09 +02:00
|
|
|
import os
|
|
|
|
import sys
|
2010-08-16 00:04:54 +02:00
|
|
|
path = os.path.dirname(`__file__')
|
2010-07-22 05:09:09 +02:00
|
|
|
sys.path.append(path)
|
2010-08-16 00:04:54 +02:00
|
|
|
sys.path.append('TP_HOME/web')
|
|
|
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
|
2010-07-22 05:09:09 +02:00
|
|
|
|
|
|
|
import django.core.handlers.wsgi
|
|
|
|
|
|
|
|
application = django.core.handlers.wsgi.WSGIHandler()
|
|
|
|
|