web/ldtplatform/django_wsgi.py
author grandjoncl
Thu, 18 Oct 2012 10:42:44 +0200
changeset 860 9f20aab419de
parent 586 9606d6acba7e
permissions -rw-r--r--
Images and templates for the error pages

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)