question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(py3/dev) TypeError: render() got an unexpected keyword argument 'renderer'

See original GitHub issue

Brief 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.

https://github.com/evennia/evennia/blob/d976b9afe1c211e1f1faff3c42019f255799c5d8/evennia/utils/picklefield.py#L122

Without this modification, trying to edit any Typeclassed object on the admin page crashes with a TypeError.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
strikacocommented, Jun 11, 2019

I’m not finding any residual issues browsing the admin panel, so I think that concludes this issue. Thanks for the fix!

0reactions
Ilori-Jaiyeolacommented, Nov 20, 2019

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’

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found