If you want compatibility with other database engines (sqlite3, MariaDB, MySQL) and don't need all features this package offers take a look at django-tree-queries too!
django-cte-forest implements efficient adjacency list trees using Django and PostgreSQL Common Table Expressions (CTE).
Note! This is a friendly fork of django-cte-trees by Alexis Petrounias which introduces support for Python 3 and recent Django versions.
You'll find additional details and information in the documentation or on the original authors webpage on django-cte-trees