📜  django taggit - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:48.299000             🧑  作者: Mango

代码示例2
from django.db import models

from taggit.managers import TaggableManager

class Food(models.Model):
    # ... fields here

    tags = TaggableManager()