title: How to filter a queryset for dates matching a given day?
body: <p>I am trying to build a query for a view in Django in which I want to retrieve rows with today date (no matter the time).</p>
  
  <p>I was thinking in a range between current date and datetime.datetime.now()</p>
  
  <p>However I can't get only the date but not the time. </p>
  
  <p>I have this: </p>
  
  <pre><code>now = datetime.datetime.now()
  today = datetime.datetime.today()
  var = Example.objects.filter(date__gt=datetime.date(today.year(), today.month(), today.day()), fecha__lt=now)
  </code></pre>