From 2666359d1e2e441e36e417430cbec1a99414a940 Mon Sep 17 00:00:00 2001 From: Tim Fechner <tim.fechner@mailbox.org> Date: Thu, 21 Jul 2016 21:26:47 +0200 Subject: [PATCH] Make the private settings file a bit user friendly --- salt_observer/private_settings.example.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/salt_observer/private_settings.example.py b/salt_observer/private_settings.example.py index d0f6fa2..77a5673 100644 --- a/salt_observer/private_settings.example.py +++ b/salt_observer/private_settings.example.py @@ -1,14 +1,16 @@ import os -# Quick-start development settings - unsuitable for production -# See https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/ -# SECURITY WARNING: keep the secret key used in production secret! +# SECURITY WARNING: +# keep the secret key used in production secret! +# by the way, you should change it if you are reading this ;) SECRET_KEY = 'l=fg3h+kynh^y77ac7k%4ubsk4wz=z&1ud8uy*m%p(iw8*+xp-' -# SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +# SECURITY WARNING: +# don't run with debug turned on in production! +DEBUG = False -ALLOWED_HOSTS = [] +# change this! +ALLOWED_HOSTS = ['localhost'] # Database -- GitLab