I need to find data within a certain set of parameters I am building a small booking system, that lets user see what vehicles are available for booking for their little safa
Can you try this :
order = Order.objects.filter(pick_up**__date__**lte=pickup).filter(drop_off**__date__**gte=dropoff)
https://docs.djangoproject.com/fr/2.0/ref/models/querysets/#date