Skip to main content

PyPI Downloads

django-admin-range

Reusable date, datetime, and numeric range filters for Django admin with modern UI design. Compatible with Django's default admin, Jazzmin, and Grappelli admin interfaces. Install the package and drop the filters straight into list_filter — the templates, CSS, and JS are bundled so you do not have to wire up static files manually.

Inspired by django-admin-rangefilter

Examples

Default Django Admin

Django Default Admin

Jazzmin Theme

Jazzmin Theme

Grappelli Theme

Grappelli Theme

Installation

# with uv
uv add django-admin-range

# or pip
pip install django-admin-range

Add the app to INSTALLED_APPS so Django can discover the bundled templates and static assets:

INSTALLED_APPS = [
    # ...
    "django_admin_range",
]

Usage

from django.contrib import admin
from django_admin_range.filters import date_range_filter, datetime_range_filter, numeric_range_filter


@admin.register(Invoice)
class InvoiceAdmin(admin.ModelAdmin):
    list_filter = [
        date_range_filter("created_at", "Created"),
        datetime_range_filter("paid_at", "Paid at"),
        numeric_range_filter("total", "Total amount"),
    ]

That is it. The admin changelist will render the range controls and load the package's CSS/JS automatically.

License

Released under MIT License.

Supporting

Metadata

Release files for django-admin-range 0.1.9

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

Source distribution (sdist)

Source distribution for django-admin-range 0.1.9
File Size Uploaded Provenance Actions
django_admin_range-0.1.9.tar.gz 22.5 kB Without provenance Details for django_admin_range-0.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-admin-range 0.1.9
File Interpreter ABI Platform Actions
django_admin_range-0.1.9-py3-none-any.whl Python 3 none any Details for django_admin_range-0.1.9-py3-none-any.whl

Total release size: 103.9 kB

Release files / django_admin_range-0.1.9.tar.gz

Download URL django_admin_range-0.1.9.tar.gz
Size 22.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0bf9839ffb4891bd82bea799fda13bb7a142ad0fae0c9a1bfd80912e85087d1e
BLAKE2b-256 checksum
How to use checksums
d671eac0954019b4a3fb54b877def481c4aa85ff8c3011b66f9f172ef689297b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.2

Release files / django_admin_range-0.1.9-py3-none-any.whl

Download URL django_admin_range-0.1.9-py3-none-any.whl
Size 81.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c7b54ff4d0fc72d4a66ef7b9f1bffef5429ce65d03a5f7eb708b86ee865e955
BLAKE2b-256 checksum
How to use checksums
dacb3aad9b41caa81d1bb9c1b2d2f868a85645d7205472ac88600f252b98b8f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.2

Security for django-admin-range 0.1.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.

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