| author | ymh <ymh.work@gmail.com> |
| Thu, 20 Apr 2017 14:57:34 +0200 | |
| changeset 339 | ebc6d7554749 |
| parent 240 | 53931ed55bc9 |
| permissions | -rw-r--r-- |
| 0 | 1 |
import os |
2 |
||
3 |
os.environ['DJANGO_SETTINGS_MODULE'] = 'ldtplatform.settings' |
|
4 |
||
| 240 | 5 |
from django.core.wsgi import get_wsgi_application |
| 0 | 6 |
|
| 240 | 7 |
application = get_wsgi_application() |
| 0 | 8 |
|
9 |
if os.environ.get('PYDEV_DEBUG', "False").lower() in ["true", "1", "t"]: |
|
10 |
import pydevd #@UnresolvedImport |
|
11 |
pydevd.settrace(suspend=False) |