﻿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
20180	unique_together with DateField (auto_now_add = True) causes error in admin.	vini.gracindo@…	Vinnicyus Gracindo	"{{{
class Rating(models.Model):
    ip = models.IPAddressField()
    date = models.DateField(auto_now_add=True)
    rating = models.FloatField()

    class Meta:
        unique_together = (('ip', 'date'))
}}}

At saving time:
IntegrityError at /admin/rating/rating/add/
columns ip, date are not unique

Expected output:
Rating with this Ip and Date already exists. (In Interface)"	Bug	closed	contrib.admin	1.5	Normal	invalid	admin, unique_together, auto_now_add	bmispelon@…	Unreviewed	0	0	0	0	0	1
