Skip to content

Commit 259eea2

Browse files
committed
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.
1 parent 58d8b79 commit 259eea2

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

local_settings.py.example

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,4 @@ MEDIA_URL = '/media/img/'
5454
## Make this unique, and don't share it with anybody.
5555
SECRET_KEY = '00000000000000000000000000000000000000000000000'
5656

57-
## Display a warning if serving netboot images on downgraded ciphers
58-
NETBOOT_SECURITY_BANNER=True
59-
6057
# vim: set ts=4 sw=4 et:

settings.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@
167167
# How long to keep mirrorlog's in days
168168
MIRRORLOG_RETENTION_PERIOD = 365
169169

170+
# Display a warning if serving netboot images on downgraded ciphers
171+
NETBOOT_SECURITY_BANNER = False
172+
170173
# Shorten some names just a bit
171174
COUNTRIES_OVERRIDE = {
172175
'GB': 'United Kingdom',
@@ -225,7 +228,4 @@
225228

226229
INSTALLED_APPS = list(INSTALLED_APPS) + ['debug_toolbar']
227230

228-
## Display a warning if serving netboot images on downgraded ciphers
229-
NETBOOT_SECURITY_BANNER=True
230-
231231
# vim: set ts=4 sw=4 et:

0 commit comments

Comments
 (0)