worsht / django-dag-postgresql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django Dag for Postgresql

Directed Acyclic Graphs for Django/Postgres.

The main distinghishing factor for this project is that it can retrieve entire sections of a graph in a single query. The trade off is portability: it uses Postgres Common Table Expressions (CTE) to achieve this and is therefore not compatible with other databases.

Example:

Credits:

  1. This excellent blog post
  2. django-dag
  3. django-treebeard-dag

About

License:Apache License 2.0


Languages

Language:Python 100.0%