shinneider/django-admin-inline-paginator

No pagination buttons are shown.

Closed this issue · 3 comments

I installed django-admin-inline-paginator 0.4.0 and I use python 3.10.11,

class ModelWithFKAdminInline(ReadOnlyAdminMixin, NestedTabularInline, TabularInlinePaginated):
    fields = (...)
    per_page = 5
    model = ModelWithFK

It shows 5 items, but no pagination buttons are shown that only first 5 items are shown.

I think you need to customize template file to have pagination.
Or you can have only TabularInlinePaginated.

Thanks @diamonddev107 for your reply. I will check that.

Awesome!!!
I customized templates\nesting\admin\inlines\tabular.html with pagination and it works well for me.