This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Easy creation of link-based filtering for a list of Django model objects.

Project Description

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

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 History

Release History

This version
History Node

0.7.0

History Node

0.6.2

History Node

0.6.1

History Node

0.6

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_easyfilters_ex-0.7.0-py2.py3-none-any.whl (21.0 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Jun 1, 2014
django-easyfilters-ex-0.7.0.tar.gz (46.4 kB) Copy SHA256 Checksum SHA256 Source Jun 1, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting