Updated wsgi to default to Production configuration
This commit is contained in:
Daniel Greenfeld 2014-07-19 09:13:15 -07:00
commit 3719db26de
2 changed files with 3 additions and 2 deletions

View File

@ -25,6 +25,7 @@ mozillazg / @mozillazg
Henrique G. G. Pereira / @ikkebr
Travis McNeill / gh: Tavistock / @tavistock_esq
Matt Linares
Russell Davies
* Possesses commit rights

View File

@ -20,7 +20,7 @@ import os
# mod_wsgi daemon mode with each site in its own daemon process, or use
# os.environ["DJANGO_SETTINGS_MODULE"] = "{{ repo_name }}.settings"
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings")
os.environ.setdefault("DJANGO_CONFIGURATION", "Local")
os.environ.setdefault("DJANGO_CONFIGURATION", "Production")
# This application object is used by any WSGI server configured to use this
# file. This includes Django's development server, if the WSGI_APPLICATION
@ -30,4 +30,4 @@ application = get_wsgi_application()
# Apply WSGI middleware here.
# from helloworld.wsgi import HelloWorldApplication
# application = HelloWorldApplication(application)
# application = HelloWorldApplication(application)