﻿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
16312	models.DateField() doesn't convert a datetime.datetime() to datetime.date()	jedie	nobody	"IMHO models.!DateField() should convert a given datetime.datetime() to datetime.date(). It makes this in !DateField.to_python(), but the model value is a datetime.datetime()

e.g.:
{{{#!python
class Foo(models.Model):
   date = models.DateField()

a = Foo(date=datetime.date(year=2001, month=1, day=1)) # returns a datetime.date(), ok.
a = Foo(date=datetime.datetime(year=2001, month=1, day=1)) # Failure: returns a datetime.datetime() and not a date
}}}"	New feature	closed	Uncategorized	dev	Normal	wontfix	DateField		Design decision needed	0	0	0	0	0	0
