
Security Fundamentals
Turtles, Clams, and Cyber Threat Actors: Shell Usage
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
django-admin-inline-paginator-plus
Advanced tools
The 'Django Admin Inline Paginator Plus' is simple way to paginate your inlines in Django admin
🍴 This is a forked and updated version based on original library django-admin-inline-paginator.
As for 10.07.2024 nobody took responsibility, so I decided to take it since we need additional functionlity like AJAX for pagination.
The "Django Admin Inline Paginator Plus" is simple way to paginate your inline in django admin
To keep Django ecosystem fresh and updated, please share your love and support, click Star
🫶
htmx
.Here's a screenshot of the paginated inlines in action:
Install the package via pip:
pip install django-admin-inline-paginator-plus
Add to your INSTALLED_APPS, in settings.py:
INSTALLED_APPS = [
...
'django_admin_inline_paginator_plus',
...
]
Create your model inline:
You can use TabularInlinePaginated
ot StackedInlinePaginated
. In our example we use TabularInlinePaginated
.
from django_admin_inline_paginator_plus.admin import TabularInlinePaginated
class ModelWithFKAdminInline(TabularInlinePaginated):
model = ModelWithFK
fields = (...)
per_page = 5
Create main model admin and use inline:
@register(YourModel)
class YourModelAdmin(ModelAdmin):
model = YourModel
fields = (...)
inlines = (ModelWithFKAdminInline, )
Paginate multiples inlines:
from django_admin_inline_paginator_plus.admin import TabularInlinePaginated, StackedInlinePaginated
class ModelWithFKInline(TabularInlinePaginated):
model = ModelWithFK
fields = ('name', 'active')
per_page = 2
pagination_key = 'page-model' # make sure it's unique for page inline
class AnotherModelWithFKInline(StackedInlinePaginated):
model = AnotherModelWithFK
fields = ('name', 'active')
per_page = 2
pagination_key = 'page-another-model' # make sure it's unique for page inline
Use inlines from step 1. and add to your main model admin:
@register(YourModel)
class YourModelAdmin(ModelAdmin):
model = YourModel
fields = (...)
inlines = (ModelWithFKAdminInline, AnotherModelWithFKInline)
FAQs
The 'Django Admin Inline Paginator Plus' is simple way to paginate your inlines in Django admin
We found that django-admin-inline-paginator-plus demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security Fundamentals
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
Security News
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.