Django出错Xadmin后台报list index out of range

input_html = [ht for ht in super(AdminSplitDateTime, self).render(name, value, attrs).split('/><') if ht != '']
input_html[0] = input_html[0] + "/>"
input_html[1] = "<" + input_html[1]

转载自(具体请查看):https://blog.csdn.net/yuhan963/article/details/79167743

posted @ 2019-09-12 17:28  与鹿逐秋  阅读(359)  评论(0编辑  收藏  举报