Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to integrate django-taggit and django-mptt / django-treebeard?

I am developing a website that requires tagging up different types of content, which favors using django-taggit. But, it would be extremely beneficial if the tags were represented in the database in their natural hierarchy, favoring use of django-mptt or django-treebeard.

What is the best solution to integrate the generic tagging functionality of taggit with the tree-structure provided by mptt / treebeard?

like image 861
Andrew Swihart Avatar asked Feb 15 '11 06:02

Andrew Swihart


1 Answers

I used treebeard and taggit's custom through models to implement hierarchical tags.

like image 114
Tentacles Avatar answered Sep 22 '22 20:09

Tentacles