﻿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
24596	year_lookup_bounds_for_date_field should be evaluated via get_db_prep_value in get_db_prep_lookup	Andreas Nüßlein	nobody	"I think the summary says it all..

If i return `datetime.date` or `datetime.datetime` objects from my overwritten `year_lookup_bounds_for_date_field()` function they will not be casted to a corresponding string for the database to understand.

i might be making a mistake some place else in my database driver, but my solution right now is attached here as a patch."	Bug	closed	Database layer (models, ORM)	1.8	Normal	needsinfo			Unreviewed	1	0	0	0	0	0
