Canonical domain redirection for Django
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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|django_canonical_domain-0.3.0-py2.py3-none-any.whl (3.8 kB) Copy SHA256 hash SHA256||Wheel||py2.py3|
|django-canonical-domain-0.3.0.tar.gz (3.9 kB) Copy SHA256 hash SHA256||Source||None|