Commit b65610c6f82bb0ce7e2a41ff777e384dac88449e
1 parent
0c4fa079
Exists in
master
and in
39 other branches
Added default value for COLAB_SETTINGS on wsgi.py
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
colab/wsgi.py
@@ -9,6 +9,7 @@ https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/ | @@ -9,6 +9,7 @@ https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/ | ||
9 | 9 | ||
10 | import os | 10 | import os |
11 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "colab.settings") | 11 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "colab.settings") |
12 | +os.environ.setdefault("COLAB_SETTINGS", "/etc/colab/settings.yaml") | ||
12 | 13 | ||
13 | from django.core.wsgi import get_wsgi_application | 14 | from django.core.wsgi import get_wsgi_application |
14 | application = get_wsgi_application() | 15 | application = get_wsgi_application() |