开发者

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

开发者 https://www.devze.com 2023-02-10 18:01 出处:网络
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 t

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 t开发者_StackOverflow中文版heir 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?


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


Just found this yesterday, so I can't really tell if it's what you're looking for:

django-categories

A way to handle one or more hierarchical category trees in django.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号