Skip to main content

Easy password-protected URLs for your Django website.

Install

  1. Install via pip: pip install django-pwdprotect.

  2. Add pwdprotect your INSTALLED_APPS.

  3. Add pwdprotect.middleware.PasswordProtectMiddleware to your MIDDLEWARE settings.

  4. 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.

Release files for django-pwdprotect 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-pwdprotect 1.0.1
File Size Uploaded
django-pwdprotect-1.0.1.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-pwdprotect 1.0.1
File Interpreter ABI Platform
django_pwdprotect-1.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 10.8 kB

Release files / django-pwdprotect-1.0.1.tar.gz

Download URL django-pwdprotect-1.0.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0bc8cddbeaf8d917989041d5d407bfc4d9e0c4ff8062af12bbe50f4b19a7626e
BLAKE2b-256 checksum
How to use checksums
0e7b045b399afd2a662729d17dc3edb5ab8af6cabd1afd5d9af60b6b0bced0e2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / django_pwdprotect-1.0.1-py2.py3-none-any.whl

Download URL django_pwdprotect-1.0.1-py2.py3-none-any.whl
Size 6.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
153cb8ae3c5200e39245f2936ed6a8517e496ad4ae256c3cf698d2d277a24a95
BLAKE2b-256 checksum
How to use checksums
e2188b9d28323fb375b28ab314215ec9d61c1a76da73f27eb9426c9e12d255e5
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page