Skip to main content
https://travis-ci.org/silentsokolov/django-admin-rangefilter.svg?branch=master https://codecov.io/gh/silentsokolov/django-admin-rangefilter/branch/master/graph/badge.svg

django-admin-rangefilter-jalali

# Note django 1.8 not working pls w8 to fix it

django-admin-rangefilter-jalali app, add the filter by a custom jdate / jdatetime range on the admin UI.

https://raw.githubusercontent.com/silentsokolov/django-admin-rangefilter/master/docs/images/screenshot.png

Requirements

  • Python 2.7+ or Python 3.4+

  • Django 1.8+

Installation

Use your favorite Python package manager to install the app from PyPI, e.g.

Example:

pip install django-admin-rangefilter-jalali

Add rangefilter_jalali to INSTALLED_APPS:

Example:

INSTALLED_APPS = (
    ...
    'django_jalali',
    'rangefilter_jalali',
    ...
)

Example usage

In admin

from django.contrib import admin
from rangefilter_jalali.filter import DateRangeFilter, DateTimeRangeFilter

from .models import Post


@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
    list_filter = (
        ('created_at', DateRangeFilter), ('updated_at', DateTimeRangeFilter),
    )

Metadata

Release files for django-admin-rangefilter-jalali 0.4.3.0

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-rangefilter-jalali 0.4.3.0
File Size Uploaded Provenance Actions
django-admin-rangefilter-jalali-0.4.3.0.tar.gz 10.1 kB Without provenance Details for django-admin-rangefilter-jalali-0.4.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-admin-rangefilter-jalali 0.4.3.0
File Interpreter ABI Platform Actions
django_admin_rangefilter_jalali-0.4.3.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for django_admin_rangefilter_jalali-0.4.3.0-py2.py3-none-any.whl

Total release size: 23.1 kB

Release files / django-admin-rangefilter-jalali-0.4.3.0.tar.gz

Download URL django-admin-rangefilter-jalali-0.4.3.0.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
035efb0b4aca1988fdc6df8634f3669a202fe8f43062ec8abd456e0dbdd77760
BLAKE2b-256 checksum
How to use checksums
d7d39c1b95124ecd26d9540784b18fd9882581c869b4a792b8ea8250ec189c03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.9

Release files / django_admin_rangefilter_jalali-0.4.3.0-py2.py3-none-any.whl

Download URL django_admin_rangefilter_jalali-0.4.3.0-py2.py3-none-any.whl
Size 12.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e7643197aac25b163551d955e0ee4ea5f85d8b2cc9cbea43d39b192e83b6724c
BLAKE2b-256 checksum
How to use checksums
7ddf6af59f57cad61553bff4d84c9da9305826ffe257b3d71c44c66e10dc2bbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/42.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.9

Security for django-admin-rangefilter-jalali 0.4.3.0

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