From 1168c4202b66d37c672ed0b7f90071aab5fd6a0a Mon Sep 17 00:00:00 2001 From: kthomasak Date: Fri, 27 Mar 2020 13:09:31 -0800 Subject: [PATCH] added lockdown to settings Added lockdown attributes for configuration, all start commented out --- bmon/settings_example.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/bmon/settings_example.py b/bmon/settings_example.py index bf316e1..ee75d9a 100644 --- a/bmon/settings_example.py +++ b/bmon/settings_example.py @@ -155,3 +155,14 @@ from .settings_common import * # ----- If you need to override any of the settings in the 'settings_common.py' file # ----- do so below this point in this file. + + +# ----- Settings for Lockdown + +#INSTALLED_APPS += ('lockdown', ) +#MIDDLEWARE += ('lockdown.middleware.LockdownMiddleware',) +#LOCKDOWN_SESSION_KEY = 'lockdown-allow' +#LOCKDOWN_FORM = 'lockdown.forms.AuthForm' + +##LOCKDOWN_LOGOUT_KEY = 'logout' +##LOCKDOWN_URL_EXCEPTIONS = ('^/secure/$', # unlock /secure/) \ No newline at end of file -- 2.26.2