From 259eea2d6cb2af7a1baa750d4881abe42b4aa60b Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Mon, 3 Aug 2020 21:37:00 +0200 Subject: Fix NETBOOT_SECURITY_BANNER settings Move the settings before the local_settings.py import to make it configurable in local_settings.py and remove the setting from local_settings.py.example as it's not required to be there. --- local_settings.py.example | 3 --- settings.py | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/local_settings.py.example b/local_settings.py.example index 63c5d845..f5b167f5 100644 --- a/local_settings.py.example +++ b/local_settings.py.example @@ -54,7 +54,4 @@ MEDIA_URL = '/media/img/' ## Make this unique, and don't share it with anybody. SECRET_KEY = '00000000000000000000000000000000000000000000000' -## Display a warning if serving netboot images on downgraded ciphers -NETBOOT_SECURITY_BANNER=True - # vim: set ts=4 sw=4 et: diff --git a/settings.py b/settings.py index 14d174ef..bffb7572 100644 --- a/settings.py +++ b/settings.py @@ -167,6 +167,9 @@ SVN_BASE_URL = 'svn://svn.archlinux.org/' # How long to keep mirrorlog's in days MIRRORLOG_RETENTION_PERIOD = 365 +# Display a warning if serving netboot images on downgraded ciphers +NETBOOT_SECURITY_BANNER = False + # Shorten some names just a bit COUNTRIES_OVERRIDE = { 'GB': 'United Kingdom', @@ -225,7 +228,4 @@ if DEBUG_TOOLBAR: INSTALLED_APPS = list(INSTALLED_APPS) + ['debug_toolbar'] -## Display a warning if serving netboot images on downgraded ciphers -NETBOOT_SECURITY_BANNER=True - # vim: set ts=4 sw=4 et: -- cgit v1.2.3-55-g3dc8