Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Simple list_filter that offers filtering by __isnull.

Project Description

Simple list_filter that offers filtering by __isnull.


The full documentation is at


Install Django isNull list_filter:

pip install django-isnull-list-filter

or use development version:

pip install -e git+

Directly use it in your admin:

from isnull_filter import isnull_filter
  class MyAdmin(admin.ModelAdmin):
     list_filter = (
         isnull_filter('author'),  # Just set the field
         isnull_filter('author', _("Hasn't got author")),  # Or you can override the default filter title


  • Can be used on:
    • simple field
    • ForeignKeyField
    • related ForeignKeyField
    • ManyToManyField
    • OneToOneField
  • Default title can be overriden

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox



  • Petr Dlouhý

Tools used in rendering this package:


0.1.0 (2017-04-26)

  • First release on PyPI.

Release History

This version
History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(17.3 kB) Copy SHA256 Hash SHA256
Source Apr 26, 2017

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