Skip to content
This repository has been archived by the owner on Mar 22, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
johncosta committed Sep 28, 2013
2 parents 9aba490 + d8d6be8 commit 7ea0e68
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scorinator/scorinator/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@
# if running multiple sites in the same mod_wsgi process. To fix this, use
# mod_wsgi daemon mode with each site in its own daemon process, or use
# os.environ["DJANGO_SETTINGS_MODULE"] = "scorinator.settings"
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "scorinator.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "scorinator.settings.prod")

# This application object is used by any WSGI server configured to use this
# file. This includes Django's development server, if the WSGI_APPLICATION
# setting points here.
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
from dj_static import Cling

application = Cling(get_wsgi_application())

# Apply WSGI middleware here.
# from helloworld.wsgi import HelloWorldApplication
Expand Down

0 comments on commit 7ea0e68

Please sign in to comment.