Mitja Nikolaus | 6a67913 | 2018-08-30 14:35:29 +0200 | [diff] [blame] | 1 | """WSGI config for Hiccup server project. |
| 2 | |
Dirk Vogt | 20539e5 | 2016-08-26 11:17:35 +0200 | [diff] [blame] | 3 | It exposes the WSGI callable as a module-level variable named ``application``. |
| 4 | For more information on this file, see |
| 5 | https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ |
| 6 | """ |
| 7 | |
| 8 | import os |
Mitja Nikolaus | cb50f2c | 2018-08-24 13:54:48 +0200 | [diff] [blame] | 9 | |
Dirk Vogt | 20539e5 | 2016-08-26 11:17:35 +0200 | [diff] [blame] | 10 | from django.core.wsgi import get_wsgi_application |
Mitja Nikolaus | cb50f2c | 2018-08-24 13:54:48 +0200 | [diff] [blame] | 11 | |
Mitja Nikolaus | bcaf502 | 2018-08-30 16:40:38 +0200 | [diff] [blame] | 12 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "hiccup.settings") |
| 13 | |
Dirk Vogt | 20539e5 | 2016-08-26 11:17:35 +0200 | [diff] [blame] | 14 | application = get_wsgi_application() |