web/ldtplatform/django_wsgi.py
author ymh <ymh.work@gmail.com>
Mon, 27 Aug 2012 02:19:16 +0200
changeset 752 eb7957008faa
parent 586 9606d6acba7e
permissions -rw-r--r--
Added tag V01.18 for changeset f8c68f292551

import os

os.environ['DJANGO_SETTINGS_MODULE'] = 'ldtplatform.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)