# HG changeset patch # User ymh # Date 1330830883 -3600 # Node ID 9606d6acba7eba7624bb040b14afa775e7f81d55 # Parent 073c80ec847b0f6a9030f997232d742d67ea73c7 remane wsgi module diff -r 073c80ec847b -r 9606d6acba7e web/ldtplatform/django_wsgi.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/ldtplatform/django_wsgi.py Sun Mar 04 04:14:43 2012 +0100 @@ -0,0 +1,11 @@ +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) diff -r 073c80ec847b -r 9606d6acba7e web/ldtplatform/uwsgi.wsgi --- a/web/ldtplatform/uwsgi.wsgi Sun Mar 04 01:53:27 2012 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -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)