equal
deleted
inserted
replaced
1 import os |
1 import os |
2 |
2 |
3 os.environ['DJANGO_SETTINGS_MODULE'] = 'ldtplatform.settings' |
3 os.environ['DJANGO_SETTINGS_MODULE'] = 'ldtplatform.settings' |
4 |
4 |
5 import django.core.handlers.wsgi |
5 from django.core.wsgi import get_wsgi_application |
6 |
6 |
7 application = django.core.handlers.wsgi.WSGIHandler() |
7 application = get_wsgi_application() |
8 |
8 |
9 if os.environ.get('PYDEV_DEBUG', "False").lower() in ["true", "1", "t"]: |
9 if os.environ.get('PYDEV_DEBUG', "False").lower() in ["true", "1", "t"]: |
10 import pydevd #@UnresolvedImport |
10 import pydevd #@UnresolvedImport |
11 pydevd.settrace(suspend=False) |
11 pydevd.settrace(suspend=False) |