﻿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
26010	I need to count objects in a queryset by year and month	Mahmood Khan	nobody	"Currently, I am doing something along the lines of:
Item.objects.all().\
        extra(select={'year': ""EXTRACT(year FROM date)""}).\
        values('year').annotate(count_items=Count('date'))"	New feature	closed	Database layer (models, ORM)	dev	Normal	invalid	Queryset.extra		Unreviewed	0	0	0	0	0	0
