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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-pwdprotect-1.0.1.tar.gz.
File metadata
- Download URL: django-pwdprotect-1.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.19.1 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.19.6 CPython/2.7.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bc8cddbeaf8d917989041d5d407bfc4d9e0c4ff8062af12bbe50f4b19a7626e
|
|
| MD5 |
f279c735dbecc548623bd151f2d2e474
|
|
| BLAKE2b-256 |
0e7b045b399afd2a662729d17dc3edb5ab8af6cabd1afd5d9af60b6b0bced0e2
|
File details
Details for the file django_pwdprotect-1.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: django_pwdprotect-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.19.1 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.19.6 CPython/2.7.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
153cb8ae3c5200e39245f2936ed6a8517e496ad4ae256c3cf698d2d277a24a95
|
|
| MD5 |
05c954dd0492afda4bd08d61c0043fc8
|
|
| BLAKE2b-256 |
e2188b9d28323fb375b28ab314215ec9d61c1a76da73f27eb9426c9e12d255e5
|