filters.rst 628 B

1234567891011121314151617181920212223242526
  1. =======
  2. Filters
  3. =======
  4. RelatedFieldAjaxListFilter
  5. --------------------------
  6. See :doc:`autocomplete` documentation for details.
  7. django-admin-rangefilter
  8. ------------------------
  9. In order to fix compatibility issues with ``django-admin-rangefilter`` package you should use JET's admin filter class
  10. ``jet.filters.DateRangeFilter`` instead of ``rangefilter.filter.DateRangeFilter``.
  11. .. code:: python
  12. #from rangefilter.filter import DateRangeFilter
  13. from jet.filters import DateRangeFilter
  14. class MyUserAdmin(UserAdmin):
  15. ...
  16. list_filter = (
  17. ('date_joined', DateRangeFilter),
  18. )