In model.py, I create class Order has a field 'order_date' with DateTimeField.
In views.py, I am using this query:
orders = Order.objects.filter(order_date__date__gte = date_from, order_date__date__lte = date_to)
The Query doesn't return any data, although in the database, there are many records between date_from and date_to.