summaryrefslogtreecommitdiff
path: root/django/conf/project_template/project_name/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/conf/project_template/project_name/settings.py')
-rw-r--r--django/conf/project_template/project_name/settings.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/django/conf/project_template/project_name/settings.py b/django/conf/project_template/project_name/settings.py
index d46f327922..972065467f 100644
--- a/django/conf/project_template/project_name/settings.py
+++ b/django/conf/project_template/project_name/settings.py
@@ -14,10 +14,9 @@ BASE_DIR = os.path.dirname(os.path.dirname(__file__))
# Quick-start development settings - unsuitable for production
+# See https://docs.djangoproject.com/en/{{ docs_version }}/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
-# Hardcoded values can leak through source control. Consider loading
-# the secret key from an environment variable or a file instead.
SECRET_KEY = '{{ secret_key }}'
# SECURITY WARNING: don't run with debug turned on in production!
@@ -25,8 +24,6 @@ DEBUG = True
TEMPLATE_DEBUG = True
-# Hosts/domain names that are valid for this site; required if DEBUG is False
-# See https://docs.djangoproject.com/en/{{ docs_version }}/ref/settings/#allowed-hosts
ALLOWED_HOSTS = []