A django model to represent direct acyclic graph coupled with closure table
The full documentation is at https://django-closuredag.readthedocs.io.
The objective is to develop a reusable django app to represent direct acyclic graph coupled with closure table (see: closure_DAG_concept ). It should combine feature provided by django-DAG and django-closuretree.
Install django-closuredag:
pip install django-closuredag
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'django_closuredag.apps.DjangoClosuredagConfig',
...
)
Add django-closuredag's URL patterns:
from django_closuredag import urls as django_closuredag_urls
urlpatterns = [
...
url(r'^', include(django_closuredag_urls)),
...
]
- TODO
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Tools used in rendering this package: