25 lines
501 B
Python
25 lines
501 B
Python
import os
|
|
|
|
from .base import *
|
|
|
|
|
|
DATABASES = {
|
|
"default": {
|
|
"ENGINE": "django.db.backends.postgresql",
|
|
"NAME": "reinheit",
|
|
"USER": "reinheit",
|
|
}
|
|
}
|
|
|
|
DEBUG = False
|
|
|
|
ALLOWED_HOSTS = ["beer.gwairfelin.com"]
|
|
|
|
STATIC_ROOT = "/srv/www/beer.gwairfelin.com/static"
|
|
MEDIA_ROOT = "/srv/www/beer.gwairfelin.com/media"
|
|
|
|
SESSION_COOKIE_SECURE = True
|
|
CSRF_COOKIE_SECURE = True
|
|
CSRF_TRUSTED_ORIGINS = ["https://beer.gwairfelin.com"]
|
|
|
|
SECRET_KEY = os.environ.get("REINHEIT_SECRET_KEY")
|