--- id: django-nested-admin version: "4.1.6" license: BSD license_treatment: permissive maintenance: aging --- # django-nested-admin — Django admin classes that allow for nested inlines License: permissive · Maintenance: aging · Downloads: 890.7K/mo ## 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 above — 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 pip install django-nested-admin uv add django-nested-admin 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_current - Install friction: low - Maintenance: aging - Downloads: 890.7K/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags django nested admin inlines, hierarchical django admin, django admin nesting, nested model admin, django admin drag and drop, django admin tree structure, multi-level admin inlines, django-admin, hierarchical-ui [View on SkillFed](https://skillfed.io/packages/django-nested-admin) · [View on PyPI](https://pypi.org/project/django-nested-admin/)