out of debug mode
This commit is contained in:
parent
04575387a9
commit
adcda18701
1 changed files with 4 additions and 10 deletions
|
|
@ -2,21 +2,15 @@ import os
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from config import site_root
|
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'.
|
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
||||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||||
|
|
||||||
|
SECRET_KEY = SECRET_KEY_STRING
|
||||||
|
|
||||||
# Quick-start development settings - unsuitable for production
|
DEBUG = False
|
||||||
# See https://docs.djangoproject.com/en/5.2/howto/deployment/checklist/
|
DEV = False
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
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']
|
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']
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue