Set up server config

This commit is contained in:
Zak Timson 2017-08-17 13:33:50 -04:00
parent 35bde987a3
commit 5faf57e26e
2 changed files with 4 additions and 2 deletions

View File

@ -23,9 +23,9 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = 'a!d#9)brm1-g)gi#)y9muyfv41$q19&#l71tuyq&er1vzza+fd'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = False
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['*']
# Application definition

View File

@ -8,9 +8,11 @@ https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/
"""
import os
import sys
from django.core.wsgi import get_wsgi_application
sys.path.append('/var/www/OACPL')
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "OACPL.settings")
application = get_wsgi_application()