开发者

Django tagging and django admin

开发者 https://www.devze.com 2023-02-15 14:43 出处:网络
How can I add something like a dropdown list or text input with the开发者_开发百科 tags as a search in django adminclass YourModel(models.Model):

How can I add something like a dropdown list or text input with the开发者_开发百科 tags as a search in 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.

0

精彩评论

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