bornhack-website/bornhack/settings/production.py
Víðir Valberg Guðmundsson d91898ff73 - Upgrading to django 1.9.x
- Disabling apps for now
- Fix some frontpage text
- Add env.dist for an .env example
- Adjust django-environ setup
- Add vim swap files to gitignore
2016-02-08 22:45:56 +01:00

15 lines
216 B
Python

from .base import *
import environ
env = environ.Env()
environ.Env.read_env()
DEBUG = False
SECRET_KEY = env('SECRET_KEY')
ALLOWED_HOSTS = env('ALLOWED_HOSTS').split(',')
DATABASES = {
'default': env.db(),
}