[英]Django search field in the database
is it possible to change my display employe to a search block because when I select the numbers it displays a list which is not practical when I have a lot of numbers in my database.是否可以将我的显示员工更改为搜索块,因为当我 select 时,它会显示一个列表,当我的数据库中有很多数字时,这是不实用的。
Try select2 widget, this should be more than enough for you.试试 select2 小部件,这对你来说应该绰绰有余了。
https://django-select2.readthedocs.io/en/latest/ https://django-select2.readthedocs.io/en/latest/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.