web/ldtplatform/django_wsgi.py
author rougeronj
Thu, 11 Oct 2012 18:09:32 +0200
changeset 843 77f740eaf247
parent 586 9606d6acba7e
permissions -rw-r--r--
Bug correction on deletion content. Bug correction : forbidden_stream_url was saved in the xml of the project

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)