src/aixweb/django_wsgi.py
author veltr
Thu, 30 May 2013 19:06:05 +0200
changeset 14 f8a0d5d14372
parent 12 dbe15daa39f1
permissions -rwxr-xr-x
URL is now in the HTML file

import os

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