﻿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
16060	Model entry does not get verified and no error raised	m.vovcu@…	nobody	"Model:

class DestMail(models.Model):
	user = models.ForeignKey(User)[[BR]]

	mail = models.EmailField()[[BR]]

	class Meta:
		unique_together = ((""user"", ""mail""),)
	def __unicode__(self):
		return self.mail

First of all, even on the command line you can enter anything in the mail-field. No verification. 

While used this code:[[BR]]

## user defined, mail defined[[BR]]

m, created = DestMail.objects.get_or_create(user=user,mail=mail)

Object got created even if it existed. Neither ""unique_together"" does help.

I have to check anytime something is entered if it's not blank, because even blank entries got entered. Although there is no ""blank=True"" directive.

Didn't seem to have that problem with previous Django release. That's all I noticed so far.

marius
"	Bug	closed	Database layer (models, ORM)	1.3	Normal	invalid			Unreviewed	0	0	0	0	0	0
