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

猜你喜欢

转载自www.cnblogs.com/wangyueping/p/11513103.html
今日推荐