﻿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
9319	error when a field is used in twice in unique_together	tangc	nobody	"The forms/models.py has the following code

at line 287 -- 289 for ""Django version 1.0-post-release-SVN-SVN-unknown""


                # Remove the data from the cleaned_data dict since it was invalid
                for field_name in unique_check:
                    del self.cleaned_data[field_name]



The above code should be commented out for it leads to error or exception for the case of model

meta:

unique_together = ((""QUESTION_FK"", ""PROTOCOL_FK""),(""EMAIL"", ""PROTOCOL_FK""), )

This case need to check unique ""PROTOCOL_FK"" twice

"		closed	Forms	1.0		fixed	forms/models.py		Accepted	0	0	1	1	0	0
