﻿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
2155	[patch]: Unique_for_date fails when the required DateTimeField is left empty in the admin	remco@…	Adrian Holovaty	"When the publicationDate field in the following model is left empty then the unique_for_date validator function receives an empty date string, in this case the unique_for_date should leave validation up to the publicationDate field (see patch)

class Article(Model):
    publicationDate = DateTimeField(""Publicatie datum"")
    linkTitle = SlugField(""Link titel"", prepopulate_from=(""title"",), unique_for_month='publicationDate')


"	defect	closed	contrib.admin	dev	normal	fixed			Unreviewed	1	0	0	0	0	0
