diff --git a/cwr/settings.py b/cwr/settings.py index 3913f14..082218f 100644 --- a/cwr/settings.py +++ b/cwr/settings.py @@ -2,21 +2,15 @@ import os from pathlib import Path from config import site_root -from config import ADMIN_EMAIL_PASSWORD +from config import ADMIN_EMAIL_PASSWORD, SECRET_KEY_STRING # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent +SECRET_KEY = SECRET_KEY_STRING -# Quick-start development settings - unsuitable for production -# See https://docs.djangoproject.com/en/5.2/howto/deployment/checklist/ - -# SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = 'django-insecure-l2amdti&+4frup-f-%084399hpxc19#*!j+-nyxh)!lj1^d1@g' - -# SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True -DEV = True +DEBUG = False +DEV = False ALLOWED_HOSTS = ['127.0.0.1', '0.0.0.0', 'cwr.domdit.com', 'domdit.com', '192.168.1.65', 'members.christian-webring.org', 'christian-webring.og']