Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
django-tagging 应用程序提供了基本的标记功能。我还需要每个标签都有属性(类别、描述等),基本上是一个相关的表。您的建议是什么,我应该尝试使用 django-tagging 还是从头开始实施“我的标记”?
创建一个模型来保存您的标签元数据。
使用标签实例,您可以查找模型实例以了解类别、描述等。您甚至可以使用标签来标记元数据实例,如果您发现这会使事情变得更容易。