jalali-django-admin-rangefilter
This is a multilingual date range filter for django admin and it is inspired by django-admin-rangefilter.
To see the jalali calendar, make sure that request's LANGUAGE_CODE contains 'fa' ('fa' for Farsi).
Requirements
- Python 3.5+
- Django 3.0+
Installation
Use your favorite Python package manager to install the app from PyPI, e.g.
Example:
pip install jalali-django-admin-rangefilter
Add rangefilter2 to INSTALLED_APPS:
Example:
INSTALLED_APPS = (
...
'rangefilter2',
...
)
Example usage in admin
from django.contrib import admin
from rangefilter2.filter import DateRangeFilter
from .models import Post
@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
list_filter = (
('created_at', DateRangeFilter),
)
[Unreleased]
[0.1.0] - 2020-03-05
Added
- Initial commit
[0.1.2] - 2020-03-23
Fixed
- Multiple filters in a page previously didn't work
Metadata
Release files for jalali-django-admin-rangefilter 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jalali_django_admin_rangefilter-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / jalali_django_admin_rangefilter-0.1.2-py3-none-any.whl
| Download URL | jalali_django_admin_rangefilter-0.1.2-py3-none-any.whl |
|---|---|
| Size | 214.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7bd89f0d6634b1e78f4bb07cedc9e7a769e7ebcc45d4a71f4d2a940ec87c907b
|
|
BLAKE2b-256 checksum How to use checksums |
ed849b2afb26d1e6a3259935d710b5a76c298719bcd029e451e9e7cdf8be9817
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
|
Security for jalali-django-admin-rangefilter 0.1.2
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.