Password-protected URLs for Django
pip install django-pwdprotect==1.0.1
Easy password-protected URLs for your Django website.
pip install django-pwdprotect
.pwdprotect
your INSTALLED_APPS
.pwdprotect.middleware.PasswordProtectMiddleware
to your MIDDLEWARE
settings.python manage.py migrate pwdprotect
.After installation you can add protected URLs via the Django admin. Only local URLs starting with a /
are allowed (do not include the site domain). The middleware will then check each request and prompt the user to log in if required.
Review contribution guidelines at CONTRIBUTING.md.