web/hdalab/django_wsgi.py
author ymh <ymh.work@gmail.com>
Fri, 22 Jun 2012 19:16:46 +0200
changeset 203 00fc169cc6a9
parent 143 60759aa76cd7
permissions -rw-r--r--
correct order tags

import os

os.environ['DJANGO_SETTINGS_MODULE'] = 'hdalab.settings'
 
import django.core.handlers.wsgi

application = django.core.handlers.wsgi.WSGIHandler()

if os.environ.get('PYDEV_DEBUG', "False").lower() in ["true", "1", "t"]:
    import pydevd #@UnresolvedImport
    pydevd.settrace(suspend=False)