web/ldtplatform/django_wsgi.py
author grandjoncl
Thu, 27 Sep 2012 11:35:06 +0200
changeset 808 0f8e34108677
parent 586 9606d6acba7e
permissions -rw-r--r--
Embed_player is now the same as Raphael's version Correction of the error_confirm page in case of popup (for projects' popup)

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)