﻿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
13414	QuerySet API ref wrong sql equivalent in __year lookup example	idle sign	nobody	"In http://docs.djangoproject.com/en/dev/ref/models/querysets/#year it is said that sql equivalent for 

{{{
Entry.objects.filter(pub_date__year=2005)
}}}

is

{{{
SELECT ... WHERE EXTRACT('year' FROM pub_date) = '2005';
}}}

but according to current code it should rather be

{{{
SELECT ... WHERE pub_date BETWEEN '2005-01-01' AND '2005-12-31 23:59:59.999999';
}}}
"		closed	Documentation	dev		fixed			Ready for checkin	1	0	0	0	0	0
