lkd-planet/DJAGEN/trunk/djagen/wsgi_handler.py
2010-07-06 16:25:42 +00:00

11 lines
259 B
Python
Executable File

import sys
import os
# WSGI handler module.
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/..')
os.environ['DJANGO_SETTINGS_MODULE'] = 'djagen.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()