web/ldtplatform/django_wsgi.py
author cavaliet
Thu, 09 Aug 2012 18:06:36 +0200
changeset 741 45d814511958
parent 586 9606d6acba7e
permissions -rw-r--r--
Content PUT api endpoint to add an annotation to a content without giving a project id. #35

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)