--- id: django-nested-inline version: "0.4.6" license: MIT License license_treatment: permissive maintenance: dormant --- # django-nested-inline — Recursive nesting of inline forms for Django Admin License: permissive · Maintenance: dormant · Downloads: 97.5K/mo ## What it is and what it does django-nested-inline extends Django's admin interface to support editing of nested foreign-key relationships across multiple levels in a single form. Instead of navigating between separate admin pages for each related model, you can edit a parent object and all its nested children (and grandchildren, etc.) inline within one hierarchical form. The package provides NestedStackedInline and NestedModelAdmin classes that replace Django's standard inline and ModelAdmin classes. The package supports Django versions through 4.1 and Python versions from 2.7 through 3.11. It carries no external runtime dependencies beyond Django itself, making it lightweight to integrate into existing projects. However, it is currently dormant: the last release was in March 2023 and the repository has not received commits since December 2023, so it may require maintenance work to support newer Django versions. Use it for: - Edit multi-level organizational hierarchies (departments → teams → members) in a single admin form - Manage nested product categories or taxonomies with multiple levels of subcategories - Build nested comment threads or discussion forums where replies can be edited alongside parent comments - Administer hierarchical permission structures or role-based access control trees - Manage nested configuration or settings structures with parent and child configuration objects ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Enables nested inline editing in Django admin, allowing you to edit related model hierarchies multiple levels deep within a single admin form. Yes, if you are actively maintaining a Django project on version 4.1 or earlier and need nested inline editing. The package is lightweight, has no external dependencies, and carries a permissive license. However, proceed with caution if you require support for Django 4.2+ or Python 3.12+: the dormant maintenance status means you may need to fork or patch it yourself for newer framework versions. ## Install pip install django-nested-inline uv add django-nested-inline poetry add django-nested-inline ## Installing django-nested-inline Before you install: Low install friction with no runtime dependencies. Dormant maintenance status: last release was 2023-03-14 and last commit 2023-12-15. Repository remains active (346 stars, not archived) but receives no ongoing updates. License in practice: MIT License (permissive) — you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions. Quickstart: pip install django-nested-inline # In settings.py INSTALLED_APPS = [ ..., 'nested_inline', ] # In admin.py from django.contrib import admin from nested_inline.admin import NestedStackedInline, NestedModelAdmin class ChildInline(NestedStackedInline): model = ChildModel fk_name = 'parent' class ParentAdmin(NestedModelAdmin): inlines = [ChildInline] admin.site.register(ParentModel, ParentAdmin) Requires Django to be installed separately; the package provides admin UI extensions only and does not bundle Django as a dependency. Verify before relying: - Compatibility with Django versions released after 4.1 (last tested version in changelog) - Whether the package works with Python 3.12+ releases despite classifiers listing only up to 3.11 - Current status of issues #130, #149, #114, #150, #147 mentioned in changelog ## Package facts - License: MIT License (permissive) - Python support: unspecified - Install friction: low - Maintenance: dormant - Downloads: 97.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags django admin nested inlines, recursive inline forms django, multi-level admin editing, django nested model admin, hierarchical inline editing, django admin foreign key nesting, deep inline relationships, django-admin, form-editing, hierarchical-data [View on SkillFed](https://skillfed.io/packages/django-nested-inline) · [View on PyPI](https://pypi.org/project/django-nested-inline/)