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 Distributions
Close
Hashes for django-admin-rangefilter-0.3.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e552a199d48054d9c02b64176967965ba48c13890f370bca77847df8141ebe0d |
|
MD5 | be7dab45361af91472c153e32fdc0381 |
|
BLAKE2b-256 | 3bd451c848804b49642badeba4168a565b83a76b4f464417281dc2b371b52cdf |
Close
Hashes for django_admin_rangefilter-0.3.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff955d30f59c29038ef1fd5b51cce3625c121f118208a2257108e20f7de9c879 |
|
MD5 | cbc6e673cf2549f41adaadfe645c8d58 |
|
BLAKE2b-256 | c693b754ebcad408f0978a1d6be53d69d981faa833ca54db6e5c7731ddf2570e |
Close
Hashes for django_admin_rangefilter-0.3.7-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b11ed1c7cbf9dbd8db223a5e9b9c1f6e346e2a17b6ba73bbe1c653fee960d026 |
|
MD5 | 643d883838247a3c1ccb98b425db01cd |
|
BLAKE2b-256 | 564e5311e077571733f4f5f3413a945e4e68599e767067399b777ed158564d3c |