Skip to content

Instantly share code, notes, and snippets.

@mtianyan
Created January 4, 2019 02:58
Show Gist options
  • Save mtianyan/2c4080fcfb019c152b3e12526665fc7d to your computer and use it in GitHub Desktop.
Save mtianyan/2c4080fcfb019c152b3e12526665fc7d to your computer and use it in GitHub Desktop.
[xadmin] ueditor Error
在xadmin2+Django2.1+Python3.6.6中,出现render() got an unexpected keyword argument 'renderer'错误
找到UEditor/widgets.py,167行
def render(self, name, value, attrs=None):
# 修改为
def render(self, name, value, attrs=None, renderer=None):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment