title: Use date range in query filter
body: <p>I have an HTML form which returns me two dates in a format like this: 2019-10-15.
  When I checked the type() of the date return it came out to be "str"</p>
  
  <p>how can I use this string in my Django query?</p>
  
  <p>Code:</p>
  
  <pre><code>start = request.POST['from']
  end = request.POST['to']
  
  foo = bar.objects.filter(dispatch_date = ??)
  </code></pre>