﻿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
14102	Model._get_unique_checks can return fields that are in the exclude list	Travis Cline	nobody	"_get_unique_checks will return fields listed in the exclude list if they are on the other end of a unique_for_*

This in practice means that if you validate a ModelForm without the depended on field for a unique_for_* constraint _perform_unique_checks will raise an exception when it attempts to access attributes of getattr(self, unique_for) (since it's None).

Attached is a patch that prevents fields from being returned as date checks if they're in the excludes list and augments two appropriate tests."		closed	Database layer (models, ORM)	1.2		fixed			Ready for checkin	1	0	0	0	0	0
