5๐
โ
So, turns out the documentation is for the development version of django-lockdown, which has not been released to PyPI. (Boo!)
I found the answer here: https://bitbucket.org/carljm/django-lockdown/issue/1/new-pypi-release
Turns out it should be LOCKDOWN_PASSWORD, singular, not plural, and it should not be a tuple. Working stanza:
INSTALLED_APPS += ('lockdown',)
MIDDLEWARE_CLASSES += ('lockdown.middleware.LockdownMiddleware',)
LOCKDOWN_PASSWORD = 'password'
LOCKDOWN_URL_EXCEPTIONS = (r'^/admin',)
LOCKDOWN_FORM = 'lockdown.forms.LockdownForm'
๐คSchof
Source:stackexchange.com