﻿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
17654	auto_now_add=True column creates IntegrityError if model is saved by specifying an id	gtorok@…	nobody	"To reproduce, create a new model which has an auto_now_add=True field and specify the id. When calling save() the IntegrityError is raised:

# Order has this field: created_at = models.DateTimeField(auto_now_add=True, null=False)
o = models.Order(id=1, name=""abc"")
o.save()
IntegrityError: null value in column ""created_at"" violates not-null constraint

"	Bug	closed	Database layer (models, ORM)	1.3	Normal	invalid	auto_now_add, IntegrityError		Unreviewed	0	0	0	0	0	0
