# HG changeset patch # User ymh # Date 1330822395 -3600 # Node ID 8f76d59406feeadfcfc99f57a807e57abc0a9801 # Parent 9da9114c54a70c6e05c9dd4f047d0ef63b494f45 add uwsgi bootstrap file diff -r 9da9114c54a7 -r 8f76d59406fe web/ldtplatform/uwsgi.wsgi --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/ldtplatform/uwsgi.wsgi Sun Mar 04 01:53:15 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)