skillfed

django-nested-admin

Django admin classes that allow for nested inlines

django-nested-admin v4.1.6 890.7K downloads/30d#4,804 on PyPI775
Permissive license BSD AGING released

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-admin

uv

uv add django-nested-admin

poetry

poetry add django-nested-admin

Installing 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

Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 3.2Framework :: Django :: 4.0Framework :: Django :: 4.1Intended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

django nested admin inlineshierarchical django admindjango admin nestingnested model admindjango admin drag and dropdjango admin tree structuremulti-level admin inlines
django-adminhierarchical-ui

More Dynamic Content packages

MarkupSafe

MarkupSafe provides a text object that escapes…

permissive · top 100 on PyPI

Jinja2

Jinja2 is a templating engine that renders…

permissive · top 100 on PyPI

soupsieve

Soupsieve is a CSS selector library designed to…

permissive · top 100 on PyPI

Werkzeug

Werkzeug is a WSGI utility library providing…

permissive · top 1,000 on PyPI

Flask

Flask is a lightweight WSGI web application…

permissive · top 1,000 on PyPI

Mako

Mako compiles Python-embedded templates into…

permissive · top 1,000 on PyPI

django-grappelli

Django Grappelli replaces the default Django…

permissive · top 15,000 on PyPI

django-admin-inline-paginator-plus

Adds pagination to Django admin inline forms,…

permissive · top 15,000 on PyPI

django-nonrelated-inlines

Provides Django admin inline classes that let…

permissive · top 15,000 on PyPI

django-reverse-admin

Adds reverse inline support to Django admin for…

permissive · top 15,000 on PyPI

django-nested-inline

Enables nested inline editing in Django admin,…

permissive · top 15,000 on PyPI

django-admin-inline-paginator

Adds pagination controls to Django admin inline…

permissive · top 5,000 on PyPI

django-unfold

Replaces Django's default admin interface with…

permissive · top 5,000 on PyPI

wagtail-modeladmin

Adds Django model administration interfaces to…

permissive · top 15,000 on PyPI

django-summernote

Embeds the Summernote WYSIWYG editor into…

permissive · top 15,000 on PyPI

django-admin-sortable2

Adds drag-and-drop reordering of model…

permissive · top 5,000 on PyPI