src/hdalab/django_wsgi.py
author cavaliet
Tue, 17 Jun 2014 10:25:33 +0200
changeset 271 8f77cf71ab02
parent 143 web/hdalab/django_wsgi.py@60759aa76cd7
permissions -rw-r--r--
commit the venv update (django and dependancies) in the good head

import os

os.environ['DJANGO_SETTINGS_MODULE'] = 'hdalab.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)