﻿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
14424	rel_to undefined in init scope of RelatedFieldWidgetWrapper	Rob Hudson	nobody	"While perusing code in the admin I noticed that this variable is undefined in the RelatedFieldWidgetWrapper.__init__.  I was on the hunt for something else but thought I'd log this as a bug since it'll likely always be false...

{{{

        if can_add_related is None:
            can_add_related = rel_to in self.admin_site._registry
}}}

I believe, on cursory glance, that this should be `rel.to` instead."		closed	contrib.admin	1.3-alpha		fixed			Unreviewed	1	0	0	0	0	0
