{"repo":"cfpb/wagtail-treemodeladmin","free":true,"listed":false,"github":"https://github.com/cfpb/wagtail-treemodeladmin","clone":"git clone https://github.com/cfpb/wagtail-treemodeladmin.git","description":"An extension for Wagtail's ModelAdmin for a page explorer-like navigation of Django model relationships","language":"Python","stars":53,"topics":["django","wagtail","hacktoberfest"],"license":"CC0-1.0","category":"api-integrations-sdks","readme_excerpt":"Wagtail-TreeModelAdmin Wagtail-TreeModelAdmin is an extension for Wagtail's wagtail-modeladmin that allows for a page explorer-like navigation of Django model relationships within the Wagtail admin. - Dependencies - Installation - Concepts - Usage - Quickstart - API - Getting help - Getting involved - Licensing - Credits and references Dependencies - Python 3.12+ - Django 5.2 (LTS)+ - Wagtail 6.3+ - wagtail-modeladmin It should be compatible with all intermediate versions, as well. If you find that it is not, please file an issue. Installation 1. Install wagtail-treemodeladmin: 2. Add treemodeladmin (and wagtail modeladmin if it's not already) as an installed app in your Django settings.py : Concepts Wagtail-TreeModelAdmin allows for a Wagtail page explorer-like navigation of Django one-to-many relationships within the Wagtail admin. In doing this, it conceptualizes the Django ForeignKey relationship as one of parents-to-children. The parent is the destination to of the ForeignKey relationship, the child is the source of the relationship. Wagtail-TreeModelAdmin is an extension of wagtail-modeladmin. It is intended to be used exactly like ModelAdmin . Usage Quickstart To use Wagtail-TreeModelAdmin you first need to define some models that will be exposed in the Wagtail Admin. Then create the TreeModelAdmin subclasses and register the root the tree using modeladmin register : Then visit the Wagtail admin. Library will be in the menu, and will give you a list of authors, and eac","default_branch":null,"files":null,"tree":[],"storefront":"/r/cfpb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cfpb/wagtail-treemodeladmin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}