Fixes case errors in URLs by redirecting.
Installation
pip install wagtail-case-insensitive
Usage
In your project’s Django settings file:
INSTALLED_APPS = [
# ...
'case_insensitive',
]
MIDDLEWARE = [
# ...
# all other django middleware first
'case_insensitive.middleware.CaseInsensitiveRouteMiddleware',
]
Then replace wagtail.models.Page with case_insensitive.models.CaseInsensitiveRoutePage:
from case_insensitive.models import CaseInsensitiveRoutePage as Page
class MyContentPage(Page):
...
Metadata
Release files for wagtail-case-insensitive 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wagtail_case_insensitive-0.1.3.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wagtail_case_insensitive-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / wagtail_case_insensitive-0.1.3.tar.gz
| Download URL | wagtail_case_insensitive-0.1.3.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9fd3ba73cffcba4dff589323542e00a103cfc682007f4e886d3968a3901a1347
|
|
BLAKE2b-256 checksum How to use checksums |
c50b46fb75e5cf75d050f206f9be0c15ab34ab6d8511d6f793c29bd76ce63149
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 14, 2025.
Transparency logRelease files / wagtail_case_insensitive-0.1.3-py3-none-any.whl
| Download URL | wagtail_case_insensitive-0.1.3-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1cfdf4c737a2a2032a8294fc4f0789f7bb18d5633f3e85205458e43711dabd7
|
|
BLAKE2b-256 checksum How to use checksums |
b806b098a4b8cc66d3276431909c71df4baef43f6cfe709bbf6b073825ec6108
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 14, 2025.
Transparency log