tests/wsgi.py
raw| 1 | """ |
| 2 | WSGI config for tests project. |
| 3 | |
| 4 | It exposes the WSGI callable as a module-level variable named ``application``. |
| 5 | |
| 6 | For more information on this file, see |
| 7 | https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ |
| 8 | """ |
| 9 | |
| 10 | import os |
| 11 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tests.settings") |
| 12 | |
| 13 | from django.core.wsgi import get_wsgi_application |
| 14 | application = get_wsgi_application() |