web/ldtplatform/django_wsgi.py
author rougeronj
Thu, 20 Sep 2012 12:35:15 +0200
changeset 790 015f40d64d43
parent 586 9606d6acba7e
permissions -rw-r--r--
Update of "reinitialize" button : Test if a content have a front_project before catching its id

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)