title: {FieldError}Unsupported lookup 'time' for TimeField or join on the field not permitted
body: <p>I am trying to do a query using Django but it does not work.</p>
  <p>Here is my query :</p>
  <pre><code>Mytable.objects.filter(hour__time__range=(begin.time(), end.time()))
      
  </code></pre>
  <p>And I got this error :</p>
  <pre><code>{FieldError}Unsupported lookup 'time' for TimeField or join on the field not permitted.
  </code></pre>
  <p>where <code>begin = 2020-11-20 08:00:00</code> and <code>end = 2020-11-20 10:00:00</code></p>
  <p>I precise <code>hour = models.TimeField(default=None, blank=True)</code></p>
  <p>Could you help me please ?</p>
  <p>Thank you !</p>