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.
This commit is contained in:
Jelle van der Waa 2020-08-03 21:37:00 +02:00
parent 58d8b79b0b
commit 259eea2d6c
No known key found for this signature in database
GPG Key ID: C06086337C50773E
2 changed files with 3 additions and 6 deletions

View File

@ -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:

View File

@ -167,6 +167,9 @@
# 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 @@
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: