﻿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
36363	List duplicated fields in '(admin.E012) There are duplicate field(s)' error message.	Eric Blum	Eric Blum	"When admin fields are duplicated the system check gives an error like: 

{{{
<class 'project.admin.MyModelAdmin'>: (admin.E012) There are duplicate field(s) in 'fieldsets[1][1]'.
}}}

This is typically enough to find the duplicate fields but then requires scanning through all the fields which can be difficult on admin classes with many fields. Including the names of the duplicated fields in the error message would make the process quicker to debug as well as friendlier.

e.g.
{{{
<class 'project.admin.MyModelAdmin'>: (admin.E012) There are duplicate field(s) in 'fieldsets[1][1]':  ['field_1', 'field2'].
}}}
"	Cleanup/optimization	closed	contrib.admin	5.2	Normal	fixed	duplicate fields, admin		Ready for checkin	1	0	0	0	1	0
