title: How to filter today's date from ListView
body: <p>I have models called Statistics. From views, I made a ListView to display it on the template. Now my problem is I would like to see only <code>today's == date_expiry</code>. How can I do this using <code>ListView</code>?</p>
  
  <p><strong>models.py</strong></p>
  
  <pre><code>class Statistics(models.Model):
      site = models.CharField(max_length=264)
      name = models.CharField(max_length=264, blank=True)
      mac_add = models.CharField(max_length=264)
      minutes_used = models.CharField(max_length=265)
      date = models.DateTimeField(auto_now=True, blank=True)
      date_expiry = models.DateTimeField()
  
      def __str__(self):
          return self.name
  </code></pre>
  
  <p><strong>views.py</strong></p>
  
  <pre><code>class DisplayStats(ListView):
      model = Statistics
  
      ordering = ['date']
  </code></pre>
  
  <p><strong>html</strong></p>
  
  <pre><code>&lt;table class="table"&gt;
       &lt;tr&gt;
           &lt;th&gt;Site&lt;/th&gt;
           &lt;th&gt;Name&lt;/th&gt;
           &lt;th&gt;Mac ID&lt;/th&gt;
           &lt;th&gt;Hours&lt;/th&gt;
           &lt;th&gt;Date&lt;/th&gt;
           &lt;th&gt;Date Expired&lt;/th&gt;
       &lt;/tr&gt;
       {% for clients in object_list %}
          &lt;tr&gt;
              &lt;td&gt;{{ clients.site }}&lt;/td&gt;
              &lt;td&gt;{{ clients.name }}&lt;/td&gt;
              &lt;td&gt;{{ clients.mac_add }}&lt;/td&gt;
              &lt;td&gt;{{ clients.minutes_used|cut:".0" }}&lt;/td&gt;
              &lt;td&gt;{{ clients.date }}&lt;/td&gt;
              &lt;td&gt;{{ clients.date_expiry }}&lt;/td&gt;
          &lt;/tr&gt;
       {% endfor %}
  &lt;/table&gt;
  </code></pre>