web/ldtplatform/django_wsgi.py
author grandjoncl
Mon, 12 Nov 2012 16:22:33 +0100
changeset 932 170da3907040
parent 586 9606d6acba7e
permissions -rw-r--r--
Merge with 3d525c04fc7270c950e7cce4041a885f609e8173

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)