web/ldtplatform/django_wsgi.py
author grandjoncl
Tue, 06 Nov 2012 10:52:51 +0100
branchembed_config
changeset 928 f5fe14b94ef5
parent 586 9606d6acba7e
permissions -rw-r--r--
amelioration iframe embed

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)