Created
January 4, 2019 02:58
-
-
Save mtianyan/2c4080fcfb019c152b3e12526665fc7d to your computer and use it in GitHub Desktop.
[xadmin] ueditor Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
在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