django-nested-admin
Django admin classes that allow for nested inlines
What it is and what it does
django-nested-admin is a Django admin extension that enables nested inlines—the ability to define inlines on InlineModelAdmin classes, creating a hierarchical editing interface for related models. It provides nesting-capable replacements for Django's standard admin classes and generic variants for contenttypes.
The package works with or without Grappelli; when Grappelli is absent, it provides drag-and-drop functionality similar to Grappelli's interface. It is compatible with Django 3.2+ and Python 3.7+, carries Production/Stable status, and has been maintained since 2014. The single runtime dependency is python-monkey-business.
Use it for:
- Build a hierarchical admin interface for a table-of-contents app with nested sections and articles.
- Edit multi-level organizational structures (departments, teams, members) in a single admin form.
- Manage nested product categories or taxonomies with drag-and-drop reordering.
- Create admin interfaces for tree-structured data (e.g., file hierarchies, permission groups).
- Add inline editing of child records without leaving the parent admin page.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Extends Django's admin interface to support nested inlines, allowing you to define inlines on InlineModelAdmin classes for hierarchical data editing.
Yes. The package is stable, permissively licensed, has low install friction, and solves a genuine Django admin limitation. Maintenance is aging (295 days since last release) but the repository is active and the code is Production/Stable. Install if you need nested inlines in Django 3.2+; verify compatibility with your specific Django version if running newer releases.
Install
django-nested-admin on PyPI
pip
pip install django-nested-adminuv
uv add django-nested-adminpoetry
poetry add django-nested-adminInstalling django-nested-admin
Before you install
Low friction install with a single runtime dependency (python-monkey-business). Last release was 295 days ago; the repository is active and not archived, though maintenance pace is aging. Classifiers indicate Production/Stable status.
License in practice
Licensed under BSD (permissive), which allows commercial and private use with minimal restrictions. No copyleft obligations.
Quickstart
pip install django-nested-admin
# In settings.py
INSTALLED_APPS = [
'nested_admin',
]
# In admin.py
from django.contrib import admin
import nested_admin
from .models import Parent, Child
class ChildInline(nested_admin.NestedStackedInline):
model = Child
class ParentAdmin(nested_admin.NestedModelAdmin):
inlines = [ChildInline]
admin.site.register(Parent, ParentAdmin)
Requires Django 3.2+ and Python 3.6+. If using Grappelli, you must add nested_admin.urls to your urlpatterns.
Verify before relying
- Whether python-monkey-business is a runtime dependency or a build/test-only tool not reflected in the wheel metadata.
- Current compatibility with Django versions beyond 4.1 (classifiers list up to 4.1; newer versions not explicitly mentioned).
Package facts
| License | BSD (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — python-monkey-business |
| Maintenance | aging — 295 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 890,682/month — #4,804 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: django_nested_admin-4.1.6-py3-none-any.whl
Tags
More Dynamic Content packages
MarkupSafe provides a text object that escapes…
permissive · top 100 on PyPI
Jinja2Jinja2 is a templating engine that renders…
permissive · top 100 on PyPI
soupsieveSoupsieve is a CSS selector library designed to…
permissive · top 100 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
FlaskFlask is a lightweight WSGI web application…
permissive · top 1,000 on PyPI
MakoMako compiles Python-embedded templates into…
permissive · top 1,000 on PyPI
django-grappelliDjango Grappelli replaces the default Django…
permissive · top 15,000 on PyPI
django-admin-inline-paginator-plusAdds pagination to Django admin inline forms,…
permissive · top 15,000 on PyPI
django-nonrelated-inlinesProvides Django admin inline classes that let…
permissive · top 15,000 on PyPI
django-reverse-adminAdds reverse inline support to Django admin for…
permissive · top 15,000 on PyPI
django-nested-inlineEnables nested inline editing in Django admin,…
permissive · top 15,000 on PyPI
django-admin-inline-paginatorAdds pagination controls to Django admin inline…
permissive · top 5,000 on PyPI
django-unfoldReplaces Django's default admin interface with…
permissive · top 5,000 on PyPI
wagtail-modeladminAdds Django model administration interfaces to…
permissive · top 15,000 on PyPI
django-summernoteEmbeds the Summernote WYSIWYG editor into…
permissive · top 15,000 on PyPI
django-admin-sortable2Adds drag-and-drop reordering of model…
permissive · top 5,000 on PyPI