This encapsulates the logic for displaying filters in the Django admin. Filters are specified in models with the "list_filter" option.
Each filter subclass knows how to display a filter for a field that passes a certain test -- e.g. being a DateField or ForeignKey.