lkd-planet/DJAGEN/branches/mustafa_branch/djagen/wsgi_handler.py

11 lines
259 B
Python
Raw Normal View History

2010-07-06 19:25:42 +03:00
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()