title: How do I filter query objects by date range in Django?
body: <p>I've got a field in one model like:</p>
  
  <pre><code>class Sample(models.Model):
      date = fields.DateField(auto_now=False)
  </code></pre>
  
  <p>Now, I need to filter the objects by a date range.</p>
  
  <p>How do I filter all the objects that have a date between <code>1-Jan-2011</code> and <code>31-Jan-2011</code>?</p>