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.
What’s the easiest way to do this? This doesn’t work:
invoice_for_today = Invoice.objects.get(user=user, date=date.today())
I remember there being plans to add a
__datefield lookup to make this easier, but as it stands the “standard” way of doing it is