﻿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
2194	"[patch] Minor inconsistency in ""unique together"" validation error message"	amcnabb@…	Adrian Holovaty	"Two of the fields in a model are 'prefname' and 'mrn'.  The long name of 'prefname' is 'Preferred Name' and the long name of 'mrn' is 'Member Record Number'.  I noticed a minor inconsistency when I added {{{ unique_together = (('prefname', 'mrn'),) }}} to the Meta class of the model.

When I add two records that are not unique together, I get the error 'Person with this Preferred Name already exists for the given mrn.'  This is great, except that the long name is given for one of the fields but not the other.  It would be preferrable if the error read, 'Person with this Preferred Name already exists for the given Member Record Number'.

Like I said, it's very minor."	defect	closed	contrib.admin		trivial	fixed			Unreviewed	1	0	0	0	0	0
