(py3/dev) TypeError: render() got an unexpected keyword argument 'renderer'
See original GitHub issueBrief summary of issue / Description of requested feature:
The PickledWidget render()
method needs to accept a new kwarg, renderer
, in order to be Django 2.1 compliant.
Without this modification, trying to edit any Typeclassed object on the admin page crashes with a TypeError.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Django TypeError: render() got an unexpected keyword ...
Support for Widget.render() methods without the renderer argument is removed. You may have subclassed django.forms.widgets.
Read more >render() got an unexpected keyword argument 'renderer'.
Summary: render() got an unexpected keyword argument 'renderer' → render() got an unexpected keyword argument 'renderer'.
Read more >render() got an unexpected keyword argument ... - YouTube
Django : Django TypeError : render () got an unexpected keyword argument ' renderer ' [ Beautify Your Computer ...
Read more >[Solved]-boundfield.py -- render() got an unexpected keyword ...
Coding example for the question boundfield.py -- render() got an unexpected keyword argument 'renderer'-django.
Read more >Django 2.1.2 update, admin interface broken: render() got an ...
Django 2.1.2 update, admin interface broken: render() got an unexpected keyword argument 'renderer'. 1212 views.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m not finding any residual issues browsing the admin panel, so I think that concludes this issue. Thanks for the fix!
I amtrying to print out a web form with it Django version=1.8 This is the full traceback File “/root/mysmsapp/rapidsms-tut-venv/local/lib/python3.7/site-packages/django/forms/forms.py”, line 599, in as_widget return force_text(widget.render(name, self.value(), attrs=attrs)) File “/root/mysmsapp/rapidsms-tut-venv/local/lib/python3.7/site-packages/selectable/forms/widgets.py”, line 238, in render return super(_BaseMultipleSelectWidget, self).render(name, value, attrs=attrs, renderer=renderer) TypeError: render() got an unexpected keyword argument ‘renderer’