Skip to main content
Build Status Coverage Status PYPI Package PYPI Package

Overview

This library provides filters similar in some ways to list_filter and date_hierarchy in Django’s admin, but for use outside the admin. Importantly, it also includes result counts for the choices. It is designed to be very easy to get started with.

Install

pip install django-easyfilters-ex

Docs

https://django-easyfilters.readthedocs.org/en/latest/

TODO

  • Possible: ability to specify ‘defaults’ attribute for FilterSet

  • Allow the automatic ‘page’ resetting to be customized

Changelog

Version 0.7.0

  • Fix bug with DateTimeFilter on Django 1.6 and add support for filtering NULLs in ForeignKey filters (contributed by Eugene A Brin in PR#9)

Version 0.6.2

  • Add a show_counts option on filters.

  • Add a defaults option on filterset so you don’t have to specify the same options for every filter.

Version 0.6.1

  • Fix broken import / error handling in utils.

Version 0.6

  • Fixed compat with django 1.6 and 1.7

  • Fixed handling around NULL values

  • Fixed inconsistencies with “display” links

  • Add support for filters on forward relations (eg: fk1__fk2__finalfield)

Version 0.5

  • Python 3.3 compatibility :-) Tests are run against Python 2.6, 2.7 and 3.3, and Django 1.3 to 1.5

Version 0.4

  • Cleaned up internal Filter implementation/API

  • Added and documented Filter.render_choice_object which can be overridden for easy customization of filters.

  • Fixed various bugs with DateTimeFilter. Thanks to psyton for a bug fix.

Version 0.3.2

  • Correction to new FilterSet.title attribute.

Version 0.3.1

  • Fixed crasher in 0.3

Version 0.3

  • Added the FilterSet.title attribute, and the title_fields attribute that can be used to control it.

Version 0.2

  • Added NumericRangeFilter

  • More docs, and API firmed up.

  • Fixed bug with test_settings.py which caused static media not to be served with most recent Django.

Version 0.1.1

Cleaned up the release tarball to remove old files.

Version 0.1

Initial release

Release files for django-easyfilters-ex 0.7.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-easyfilters-ex 0.7.0
File Size Uploaded
django-easyfilters-ex-0.7.0.tar.gz 46.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-easyfilters-ex 0.7.0
File Interpreter ABI Platform
django_easyfilters_ex-0.7.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 67.4 kB

Release files / django-easyfilters-ex-0.7.0.tar.gz

Download URL django-easyfilters-ex-0.7.0.tar.gz
Size 46.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c5347129110750e8a81c0410adaaab948d82ec0392fca1e30fed559e9cee2548
BLAKE2b-256 checksum
How to use checksums
77f1b143a38095c19e79b86d4cb055287cb0b907d102a7e77c09817f7d4099d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_easyfilters_ex-0.7.0-py2.py3-none-any.whl

Download URL django_easyfilters_ex-0.7.0-py2.py3-none-any.whl
Size 21.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7782162cd374cd5a63fd38b7fac4c3e00da699eb881de08bf133288d80b0a443
BLAKE2b-256 checksum
How to use checksums
f0eca54e34ab98438a4e1302c054a385b42cdef011da10ee87e09001e97a358f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.2

1 release file

0.6.1

1 release file

0.6

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