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
django-admin-rangefilter-jalali-0.4.3.0.tar.gz 10.1 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

0.4.3.0 This release

2 release files

0.4.2.8

1 release file

0.4.2.7

1 release file

0.4.2.5

1 release file

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