fmartingr
/
shelfzilla
Archived
1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 

24 lines
536 B

"""
WSGI config for shelfzilla project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
"""
import os
SETTINGS_FILE = 'local'
if 'ENVIRONMENT' in os.environ:
SETTINGS_FILE = os.environ['ENVIRONMENT']
os.environ.setdefault(
"DJANGO_SETTINGS_MODULE",
"shelfzilla.settings.{}".format(SETTINGS_FILE)
)
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()