﻿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
565	Unique fields don't work on edit_inline models	kyrrigle@…	nobody	"There seems to be a bug with validating inline editable items that have unique=true.

To reproduce:

1) Modify the tutorial polls app so that the Choice model defines choice as:
{{{
    choice = meta.CharField(maxlength=200, core=True, unique=True)
}}}

2) Create a poll with two choices, click 'save and continue editing'

3) Add a third choice (with unique name) and click 'save'

You should see a ""Choice with this choice already exists."" validation error for the second choice.

"	defect	closed	contrib.admin	dev	normal	fixed	admin edit inline unique error nfa-fixed	kyrrigle@… ep@… christoph.rauch@… frankie@… mail@… jarek.zgoda@… avinash@… Django565@… matiassurdi@… duke@…	Accepted	0	0	0	0	0	0
