Skip to content

v0.1.2

Latest

Choose a tag to compare

@rodolvbg rodolvbg released this 24 Oct 09:08

Added

  • inline_filter_autocomplete: filters by a relation search as you type,
    with the admin's autocomplete.
  • inline_filter_only_used_values: filters offer only the values the
    parent's rows have.
  • inline_filter_sheet: the filters behind a Filters button that says
    how many are on, like Unfold's list_filter_sheet: always, or only when
    the inline is narrow ("narrow").

Changed

  • InlineControlsMixin and InlineControlsAdminMixin are now the sum of
    one mixin per feature (django_admin_inline_controls.features:
    pagination, ordering, filters, saving the inline, bulk actions), each
    with its options, its methods and its script. Nothing changes for the
    inlines: same options, same behaviour, same imports.

Removed

  • Footer rows (inline_footer_rows, inline_footer_scope,
    inline_footer_tfoot, inline_footer_tfoot_template,
    get_inline_footer_rows(), format_inline_footer_value(), the
    tfoot.html template and checks E013 to E017): they're in
    django-admin-tables
    now, for inlines and the changelist alike. Its FooterRowsMixin follows
    these controls' filters and paging, and comes back with the refreshed
    inline: see the README's "Footer rows".
  • Row actions (inline_actions, get_inline_actions(),
    inline_actions_template, the ViewAction, DeleteAction and
    DefaultActionsMixin mixins, row_actions.html and checks E018,
    E019 and E105): they're in
    django-admin-tables
    now, for inlines and the changelist alike. Its RowActionsMixin
    refreshes only these controls' inline, keeping its filters and page: see
    the README's "Row actions".