Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

render() got an unexpected keyword argument 'renderer' #16

Open
patricktran159 opened this issue Sep 15, 2018 · 4 comments
Open

render() got an unexpected keyword argument 'renderer' #16

patricktran159 opened this issue Sep 15, 2018 · 4 comments

Comments

@patricktran159
Copy link

Hi,
Does anyone have this problem with Django 2.1? I followed the installation strictly.
Thanks

@KhanMaytok
Copy link

Me too

@KhanMaytok
Copy link

It is a problem for Django 2.1. You should add the renderer arg in render() method:

def render(self, name, value, attrs=None, renderer=None):

@eon01
Copy link

eon01 commented Oct 10, 2019

I have the same error with Django 2.2.3.

@hruturaj
Copy link

hruturaj commented Jul 8, 2020

I had the same renderer() issue with django 3.0.
To solve this error open file mediumeditor/widgets.py (where your python packages are install)
Eg:- python/lib/python3-6/site-packages/mediumeditor/widgets.py, in which the MediumEditorTextarea() class exist and add rendered=None inside render function parameters(as shown below)

class MediumEditorTextarea(forms.Textarea):
  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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants