Canonical domain redirection for Django
Project description
This module allows redirecting all requests for a given Django instance to a single canonical domain and optionally enforcing HTTPS for all requests as well.
It achieves this by providing a replacement for Django’s django.middleware.security.SecurityMiddleware which overrides its request processing with a variant that also redirects requests to the canonical domain which already are secure.
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
File details
Details for the file django-canonical-domain-0.2.0.tar.gz
.
File metadata
- Download URL: django-canonical-domain-0.2.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08f87b6bb40ff22bda7fb7c69779ec085da03ebff8e15339bcd1071bd6019f8e |
|
MD5 | f0e8125d5ccda6b9ed73d7f45f163007 |
|
BLAKE2b-256 | 79d29be1353f7de43719440f34b7d61476dd81c667b390b778025b504861347d |
File details
Details for the file django_canonical_domain-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: django_canonical_domain-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 171e2d6c51d598295a30ab4b4be2463a4855bd2e496beb9ed0479f9a2d19231e |
|
MD5 | a0274099a23f47181675246d6d73d335 |
|
BLAKE2b-256 | 4f63cfcf86652ada8cc8799bd1da335c0850c5722c7b597368eff424e7556cbd |