django管理列表页面 [英] django admin list page
本文介绍了django管理列表页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
对于这种自定义,我需要管理员列表页面的django模板
任何人帮助我?
解决方案
解释管理模板解释为 。您需要将 django / contrib / admin / templates / admin / change_list.html
(从django源)复制到 templates / admin / change_list.html
(您的模板目录)
Iam working in django-admin. In Django admin list page, I need to insert field name customatically near to actions. For this customization, I need the django template for admin list page
Anyone help me?
解决方案
Overriding admin templates is explained in the documentation. You need to copy django/contrib/admin/templates/admin/change_list.html
(from the django source) to templates/admin/change_list.html
(your template directory)
这篇关于django管理列表页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文