I have a django model with a DateTimeField
called when
which I want to match against a Date
object. Is there a way to do that in django's queryset language better than
Samples.objects.filter( when__gte = mydate, when__lt = mydate + datetime.timedelta(1) )