From adcda18701427ec84d34c8a015790848d81fc847 Mon Sep 17 00:00:00 2001 From: Dominic Date: Wed, 26 Nov 2025 23:46:40 -0500 Subject: [PATCH] out of debug mode --- cwr/settings.py | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) 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']