src/ldtplatform/django_wsgi.py
author cavaliet
Fri, 30 Nov 2012 14:06:04 +0100
branchwith_hashcut_module
changeset 21 50a6ba97a22d
parent 0 87104b7cb3d6
child 240 53931ed55bc9
permissions -rw-r--r--
hashcut added to installed apps and urls.

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)