如何在django admin中添加标签下拉列表或文本输入等内容作为搜索
class YourModel(models.Model):
...
tags = TagField()
But if you register your model, you'll have to choose a different tag_descriptor_attr
.
Checkout the overview file.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.