Password-protected URLs for Django
Project description
Easy password-protected URLs for your Django website.
Install
Install via pip: pip install django-pwdprotect.
Add pwdprotect your INSTALLED_APPS.
Add pwdprotect.middleware.PasswordProtectMiddleware to your MIDDLEWARE settings.
Run migrations python manage.py migrate pwdprotect.
Usage
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.
Contributing
Review contribution guidelines at CONTRIBUTING.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django_pwdprotect-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0085f246165fd56410a99546d0e4df4da5f4fcc2b5617c55e3df9563cf6e094 |
|
MD5 | 342aa86d506f02454e4674bd35ae075f |
|
BLAKE2b-256 | 6d7806bbf8f3c7792eb9e5dc3d8eb2f2e65c90c0c745474e25b197cff510ac01 |