标签:python value django exp code views 出错 class dash
环境:
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):
Xadmin添加用户小组件出错render() got an unexpected keyword argument 'renderer
标签:python value django exp code views 出错 class dash
原文地址:https://www.cnblogs.com/zijue/p/10884298.html