Mercurial > sat_legacy_website
comparison sat_website/wsgi.py @ 149:b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 17 Oct 2017 04:11:21 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
148:75a95a1dfeb6 | 149:b1c16cd53b62 |
---|---|
1 """ | |
2 WSGI config for sat_website 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.11/howto/deployment/wsgi/ | |
8 """ | |
9 | |
10 import os | |
11 | |
12 from django.core.wsgi import get_wsgi_application | |
13 | |
14 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings") | |
15 | |
16 application = get_wsgi_application() |