I\'m saving datetime in the db for an object. I\'d like to query against the db and select anything from todays date, not datetime.
datetime
date
What\'s the
There is a new __date field lookup in Django 1.9 you can use:
Entry.objects.filter(pub_date__date=datetime.date(2005, 1, 1)) Entry.objects.filter(pub_date__date__gt=datetime.date(2005, 1, 1))
Queryset API