diff options
author | Weitian LI <liweitianux@gmail.com> | 2014-04-29 13:29:38 +0800 |
---|---|---|
committer | Weitian LI <liweitianux@gmail.com> | 2014-04-29 13:29:38 +0800 |
commit | a2b75fd0ae62b484c3a7cc1205a1425a91b43533 (patch) | |
tree | 59d42990c1611d4b002c7861d9ca9951e6b67d04 /django_skaschool | |
parent | 4bbb74401354c118ddbc0aebf131a5253ba5f48b (diff) | |
download | django-skaschool-a2b75fd0ae62b484c3a7cc1205a1425a91b43533.tar.bz2 |
modified 'wsgi.py': set DJANGO_SETTINGS_MODULE to settings_production
Diffstat (limited to 'django_skaschool')
-rw-r--r-- | django_skaschool/wsgi.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/django_skaschool/wsgi.py b/django_skaschool/wsgi.py index e881f1e..bda56d1 100644 --- a/django_skaschool/wsgi.py +++ b/django_skaschool/wsgi.py @@ -8,7 +8,10 @@ https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/ """ import os -os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_skaschool.settings") + +#os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_skaschool.settings") +# use settings_production +os.environ["DJANGO_SETTINGS_MODULE"] = "django_skaschool.settings_production" from django.core.wsgi import get_wsgi_application application = get_wsgi_application() |