I am trying to filter
match_queryset.filter(start__year=a_date.year, start__month=a_date.month, start__day=a_date.day)
t0 = datetime.datetime.combine(a_date, datetime.time(0, 0))
t1 = datetime.datetime.combine(a_date, datetime.time(23, 59, 59))
# this of course doesn't work
From Django 1.9 you can use the
__date field lookup, exactly as you have mentioned in your question. For older versions, you will have to do with the other methods.