环境:
Python 3.7
Django 2.1
Xadmin
原因:
render函数在django2.1上有变化
解决方法:
进入xadmin安装路径,编辑xadmin/views/dashboard.py
36 #render() got an unexpected keyword argument 'renderer' 37 #修改bug, 添加renderer 38 39 def render(self, name, value, attrs=None, renderer=None):