[Django] #30905: render() got an unexpected keyword argument 'renderer'

10 views
Skip to first unread message

Django

unread,
Oct 24, 2019, 1:49:22 AM10/24/19
to django-...@googlegroups.com
#30905: render() got an unexpected keyword argument 'renderer'
---------------------------------------+------------------------
Reporter: Vinay Kumar | Owner: nobody
Type: Bug | Status: new
Component: Forms | Version: 2.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------+------------------------
Django 2.2.6
Python 3.8.0
Error traceback.

Request Method: GET
Request URL: http://localhost:8000/userprofile/1/
Django Version: 2.2.6
Exception Type: TypeError
Exception Value:
render() got an unexpected keyword argument 'renderer'
Exception Location: /usr/local/lib/python3.8/site-
packages/django/forms/boundfield.py in as_widget, line 89
Python Executable: /usr/local/bin/python
Python Version: 3.8.0

--
Ticket URL: <https://code.djangoproject.com/ticket/30905>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Oct 24, 2019, 2:02:51 AM10/24/19
to django-...@googlegroups.com
#30905: render() got an unexpected keyword argument 'renderer'.
-----------------------------+--------------------------------------

Reporter: Vinay Kumar | Owner: nobody
Type: Bug | Status: closed
Component: Forms | Version: 2.2
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
Changes (by felixxm):

* status: new => closed
* resolution: => invalid


Comment:

Support for `Widget.render()` without the `renderer` argument was removed
in 2bd207ada0367debe8c8e298203435d5c88c14bd. You are probably using a
custom widget that doesn't accept this argument.

--
Ticket URL: <https://code.djangoproject.com/ticket/30905#comment:1>

Reply all
Reply to author
Forward
0 new messages