Home » Grids » Trees and Graphs » Packages

Trees and Graphs Packages

Even in relational databases, Django can easily do hierarchical data models. http://science.nasa.gov/ is a good example of what can be done.

django-mptt

Utilities for implementing a modified pre-order traversal tree in django.

App 0.18.0 113 May 04, 2026
2,971 465
django-treebeard

Efficient tree implementations for Django

App 5.0.5 27 May 04, 2026
1,198 224
django-admin2

Extendable, adaptable rewrite of django.contrib.admin

App 0.7.1 8 May 04, 2026
1,188 148
django-treenode

:deciduous_tree: probably the best abstract model/admin for your tree based stuff.

App 0.24.0 3 May 04, 2026
798 38
django-tree-queries

Adjacency-list trees for Django using recursive common table expressions. Supports PostgreSQL, sqlite, MySQL and MariaDB.

Other 0.24.0 2 May 04, 2026
510 32
django-neomodel

Neomodel plugin for Django

App 0.2.0 1 May 04, 2026
310 61
django-polymorphic-tree

Polymorphic MPTT tree support for models

App 2.1 4 May 04, 2026
170 41
django-ltree

An ltree extension implementation to support hierarchical tree-like data using the native Postgres extension ltree in django models

App 0.6.0 0 May 04, 2026
75 19
django-dag

Basic portable Directed Acyclic Graph application for Django

App 1.4.3 2 May 04, 2026
66 18
django-closuretree

Efficient tree-based datastructure for Django

Other 1.2.0 0 May 04, 2026
64 25
django-postgresql-dag

Directed Acyclic Graphs with a variety of methods for both Nodes and Edges, and multiple exports (NetworkX, Pandas, etc). This project is the foundation for a commercial product, so expect regular improvements. PR's and other contributions are welcomed.

App 2026.2.3 2 May 04, 2026
53 6
django-ltree-2

Postgres LTree support for django

App 0.1.13 0 May 04, 2026
48 6
django-fast-treenode

A hybrid, high-performance, open-source framework for working with large trees in Django

App 3.2.10 0 May 04, 2026
36 5
django-admirarchy

Django Admin addon to navigate through hierarchies.

App 1.2.2 2 May 04, 2026
26 8
django-easytree

Another attempt at modified preordered tree traversal. Meant to be as generic as possible, should be easy to use in the admin. And a apology to gpicon for stealing code from treebeard ;)

App - 0 May 04, 2026
21 2
Django Closure Tree

Closure view based Tree models for Django

App 0.2.2 0 May 04, 2026
9 5
django-pagebase

Pages for Django

App 0.4.1 1 May 04, 2026
3 1