How to apply Pagination to StackedInLine View

Hi All,

We have requirement where we would like to Apply the pagination to StackedinLine view, is it possible,Please share your inputs that would be really helpful


I’m going to quote what I believe to be the relevant part of the Django admin doc:

The admin’s recommended use is limited to an organization’s internal management tool. It’s not intended for building your entire front end around.

If you’re trying to build your application around the Django admin, you’re likely making a mistake. You’re quickly approaching the point where you’re going to be better off building your own views.

Having said that, you may be able to create a custom subclass that handles pagination. You would first need to decide if changing pages in that subclass is going to require a complete page refresh (with all the implications associated with that) or if you’re going to paginate that section with JavaScript and associated views (server-side rendering) or if you want to handle the pagination internally within the page (JavaScript only).