src/hdalab/django_wsgi.py
author cavaliet
Tue, 17 Jun 2014 16:07:40 +0200
changeset 275 b2eb3e9e6956
parent 266 825ff4d6a8ac
permissions -rw-r--r--
first step of folder administration

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)