Fixes case errors in URLs by redirecting.
Project description
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):
...
Project details
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 wagtail_case_insensitive-0.1.3.tar.gz.
File metadata
- Download URL: wagtail_case_insensitive-0.1.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fd3ba73cffcba4dff589323542e00a103cfc682007f4e886d3968a3901a1347
|
|
| MD5 |
ab1007fb798e0b60cbcef2a804342fbe
|
|
| BLAKE2b-256 |
c50b46fb75e5cf75d050f206f9be0c15ab34ab6d8511d6f793c29bd76ce63149
|
Provenance
The following attestation bundles were made for wagtail_case_insensitive-0.1.3.tar.gz:
Publisher:
deploy.yml on FullFact/wagtail-case-insensitive
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wagtail_case_insensitive-0.1.3.tar.gz -
Subject digest:
9fd3ba73cffcba4dff589323542e00a103cfc682007f4e886d3968a3901a1347 - Sigstore transparency entry: 196511993
- Sigstore integration time:
-
Permalink:
FullFact/wagtail-case-insensitive@3af4a106fcb81b3c66b7368a4ae105f83f431f88 -
Branch / Tag:
refs/tags/0.1.3 - Owner: https://github.com/FullFact
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@3af4a106fcb81b3c66b7368a4ae105f83f431f88 -
Trigger Event:
push
-
Statement type:
File details
Details for the file wagtail_case_insensitive-0.1.3-py3-none-any.whl.
File metadata
- Download URL: wagtail_case_insensitive-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1cfdf4c737a2a2032a8294fc4f0789f7bb18d5633f3e85205458e43711dabd7
|
|
| MD5 |
7f280372da912b6d8e82e3ef548b03ac
|
|
| BLAKE2b-256 |
b806b098a4b8cc66d3276431909c71df4baef43f6cfe709bbf6b073825ec6108
|
Provenance
The following attestation bundles were made for wagtail_case_insensitive-0.1.3-py3-none-any.whl:
Publisher:
deploy.yml on FullFact/wagtail-case-insensitive
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wagtail_case_insensitive-0.1.3-py3-none-any.whl -
Subject digest:
e1cfdf4c737a2a2032a8294fc4f0789f7bb18d5633f3e85205458e43711dabd7 - Sigstore transparency entry: 196511996
- Sigstore integration time:
-
Permalink:
FullFact/wagtail-case-insensitive@3af4a106fcb81b3c66b7368a4ae105f83f431f88 -
Branch / Tag:
refs/tags/0.1.3 - Owner: https://github.com/FullFact
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@3af4a106fcb81b3c66b7368a4ae105f83f431f88 -
Trigger Event:
push
-
Statement type: