﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30768	django.forms.boundfield.as_widget() causes an exception when used.	Mark	nobody	"/django/forms/boundfield.py;90-95 calls widget.render() with 'rederer=self.form.renderer' on line 94

the renderer argument was removed in 2.1;  <https://docs.djangoproject.com/en/2.1/releases/2.1/#features-removed-in-2-1>

This should be very easy to fix; it looks like this method wasn't updated when the renderer argument was removed.

I commented out line 94 locally and it fixes the problem.

I just installed 2.2.5 to verify that this still existed, I also did a search of existing tickets, but couldn't find this reported yet.

edit: I just rechecked the patch submission guidlines, and I made the patch wrong, its just the output of 'diff boundfield.py oldboundfield.py'; its simply deleting line 94"	Bug	closed	Forms	2.2	Normal	invalid	boundfiled renderer		Unreviewed	1	0	0	0	1	0
