Skip to main content

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):
    ...

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail_case_insensitive-0.1.3.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wagtail_case_insensitive-0.1.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

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

Hashes for wagtail_case_insensitive-0.1.3.tar.gz
Algorithm Hash digest
SHA256 9fd3ba73cffcba4dff589323542e00a103cfc682007f4e886d3968a3901a1347
MD5 ab1007fb798e0b60cbcef2a804342fbe
BLAKE2b-256 c50b46fb75e5cf75d050f206f9be0c15ab34ab6d8511d6f793c29bd76ce63149

See more details on using hashes here.

Provenance

The following attestation bundles were made for wagtail_case_insensitive-0.1.3.tar.gz:

Publisher: deploy.yml on FullFact/wagtail-case-insensitive

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wagtail_case_insensitive-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for wagtail_case_insensitive-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e1cfdf4c737a2a2032a8294fc4f0789f7bb18d5633f3e85205458e43711dabd7
MD5 7f280372da912b6d8e82e3ef548b03ac
BLAKE2b-256 b806b098a4b8cc66d3276431909c71df4baef43f6cfe709bbf6b073825ec6108

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page