django-admin-rangefilter app, add the filter by a custom date range on the admin UI.
Project description
django-admin-rangefilter
django-admin-rangefilter app, add the filter by a custom date / datetime range on the admin UI.
Requirements
Python 2.7+ or Python 3.3+
Django 1.8+
Installation
Use your favorite Python package manager to install the app from PyPI, e.g.
Example:
pip install django-admin-rangefilter
Add rangefilter to INSTALLED_APPS:
Example:
INSTALLED_APPS = (
...
'rangefilter',
...
)
Example usage
In admin
from django.contrib import admin
from rangefilter.filter import DateRangeFilter, DateTimeRangeFilter
@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
list_filter = (
('created_at', DateRangeFilter), ('updated_at', DateTimeRangeFilter),
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-admin-rangefilter-0.3.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8600ed20f1cf278b51b635213266550f4040060670196f8534c51ac7b631ca25 |
|
MD5 | bf33e19fc736564df2cb30e586729eeb |
|
BLAKE2b-256 | 93fd91e09b1d960c40ed83f4434fd4894ef5a5aa3233e203a18fd66d3110a4ca |
Close
Hashes for django_admin_rangefilter-0.3.10-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f67ee79cc9f65fc379cdd568376a77689e1769c16ff2ecf34459b5ce48359a37 |
|
MD5 | 1095b53d447279c86d7eb584133a2ba9 |
|
BLAKE2b-256 | ef42a07db397cca30a654bf7cdbf60267eba85d0c4c96f823510fddebf048513 |