﻿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
37323	Reading a DateField from a column of type timestamp produces python datetime.datetime	uli123abc		"**Current behavior:**
According to documented behavior [1], `DateField` should represent a `datetime.date` object. If however the database column (Postgresql) is of type `timestamp` [2], reading the field will produce a `datetime.datetime` object.

**Expected behavior:**
The ORM should warn about a type mismatch or cast the database value to a `datetime.date` object.

[1] https://docs.djangoproject.com/en/6.1/ref/models/fields/#datefield
[2] https://www.postgresql.org/docs/current/datatype-datetime.html"	Bug	new	Database layer (models, ORM)		Normal		DateField,timestamp,date,datetime		Unreviewed	0	0	0	0	0	0
