The "Django Admin Inline Paginator" is a Python library designed to add pagination to inline forms within the Django administration interface. The latest version, 0.4.0, was released in April 2023. The original project is currently seeking maintainers, with development seemingly inactive, and a community-maintained fork (`django-admin-inline-paginator-plus`) has emerged to continue development and add new features.
pip install django-admin-inline-paginatorVerified import paths — ran on the pinned version, not inferred.
To quickly integrate inline pagination, add `django_admin_inline_paginator` to your `INSTALLED_APPS`. Then, define your inline admin classes by inheriting from `TabularInlinePaginated` or `StackedInlinePaginated` and set the `per_page` attribute. Finally, include these paginated inlines in your main `ModelAdmin`.
Consider migrating to `django-admin-inline-paginator-plus` (pip install django-admin-inline-paginator-plus) for active development and new features.
Ensure your Django and Python versions are compatible with the last release of this package (0.4.0, Python >=3.3). For modern Django/Python, the `django-admin-inline-paginator-plus` fork is recommended as it explicitly supports newer Django versions and Python >=3.8.
If AJAX pagination is a requirement for a smoother user experience, use the `django-admin-inline-paginator-plus` fork, which explicitly adds AJAX support.
If you encounter "TooManyFieldsSent" errors, you may need to increase the `DATA_UPLOAD_MAX_NUMBER_FIELDS` setting in your Django project's `settings.py` file. Be mindful of potential security implications when increasing this value excessively.