Allow to filter by a custom date range on the Django Admin
Project description
Add the option to filter by a custom date range on the admin. This allows to inputs to be used to get the custom date range filters.
See datefilter.png of a screenshot of how this is seen on the admin.
IMPORTANT: this will work with Django 1.4. I won’t work with previous Django versions.
Installation
Use pip/easy_install
pip install django-daterange-filter
Add daterange_filter to settings.INSTALLED_APPS. Then configure your admin:
from daterange_filter.filter import DateRangeFilter ... list_filter = ( ... ('created', DateRangeFilter), ... )
DateRangeFilter honours localization and supports local date formats for filtering.
Changes
0.1.1:
Removed the custom DateRangeField
Improved i18n
Special thanks to: https://github.com/DXist
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
Hashes for django-daterange-filter-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f31a675fe7c6b32b2bdaf5dac194b1abe02b5dd6ade76d1117ec0344917541d6 |
|
MD5 | 2cde918b4489c4df21afef1ad7cad7a6 |
|
BLAKE2b-256 | cd1d9639ca18230ffa2fd82fcdadbef17b96ce42b042df28a465277a26885e1c |