i believe the way filters work (what martin referenced) is that you
have to explicitly say which weekday you care about.
what the op is looking for is a way to group by week day. ideally to
write something like MyTable.objects.values(created__week_day).annotate
(Count('id'))
however, this doesn't work as created__week_day is not a valid
argument to values. any ideas how to actually do this?
On Nov 23, 8:52 am, Martin Ostrovsky <
martin.ostrov...@gmail.com>
wrote:
> You can limit your search by year, month or day.
>
> Seehttp://
docs.djangoproject.com/en/dev/ref/models/querysets/#year