Víðir Valberg Guðmundsson
d91898ff73
- 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
15 lines
216 B
Python
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(),
|
|
}
|