Skip to main content

Wagtail Rangefilter

PyPI License Wagtail Rangefilter CI

Integrates django-admin-rangefilter into Wagtail's ModelAdmin

Screenshot

Supported versions

  • Python 3.8, 3.9, 3.10, 3.11
  • Django 3.2, 4.2
  • Wagtail 4.1, 5.1, 5.2, 6.0 (with external package wagtail-modeladmin)

Installation

NOTE: Starting with wagtail 5.0 you can install and use the external package wagtail-modeladmin, with 6.0+ you have to use it.

pip install wagtail-rangefilter

Add this to your installed django applications:

INSTALLED_APPS = [
    ...,
    'wagtail_rangefilter',
    'rangefilter',
    ...,
]

Example usage

# Starting with Wagtail 6.0, the external package "wagtail-modeladmin" is required:
# from wagtail_modeladmin.options import ModelAdmin
from wagtail.contrib.modeladmin.options import ModelAdmin
from wagtail_rangefilter.filters import DateRangeFilter, DateTimeRangeFilter

class ExampleAdmin(ModelAdmin):
    ...
    list_filter = (("test_date", DateRangeFilter), ("test_datetime", DateTimeRangeFilter),)
    ...

Development

pip install -e '.[testing]' -U

Running the testapp

tox -e interactive

Alternative:

cp tests/local.py.example tests/local.py
python manage.py runserver

Metadata

Release files for wagtail-rangefilter 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wagtail-rangefilter 0.2.1
File Size Uploaded Provenance Actions
wagtail-rangefilter-0.2.1.tar.gz 5.4 kB Without provenance Details for wagtail-rangefilter-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wagtail-rangefilter 0.2.1
File Interpreter ABI Platform Actions
wagtail_rangefilter-0.2.1-py3-none-any.whl Python 3 none any Details for wagtail_rangefilter-0.2.1-py3-none-any.whl

Total release size: 10.6 kB

Release files / wagtail-rangefilter-0.2.1.tar.gz

Download URL wagtail-rangefilter-0.2.1.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
74fde188e13e44766f1e106c91be540ca1cdf032251f233d6b3e4ea7ecd57ace
BLAKE2b-256 checksum
How to use checksums
d78ce46f08aed99a4892daf09966edcb25820c87c3f34d99c68945a840852d35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.25.1

Release files / wagtail_rangefilter-0.2.1-py3-none-any.whl

Download URL wagtail_rangefilter-0.2.1-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54bff60260f23340a3f8bc1728c5eb19462f2a83173e0349f3b061095da39bbd
BLAKE2b-256 checksum
How to use checksums
033327dbff404bcc24c747b6219c28968c78a4d8abcaf346b2b46108f8b89457
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.25.1

Security for wagtail-rangefilter 0.2.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page