I want to obtain data on the same date from this query:
Example:
fecha_inicio= 06/09/2017 fecha_final= 06/09/2017
query=DetalleParte.objects.filter(fecha_creacion__range=(fecha_inicio,fecha_final)
However the Query only brings me data when start_date is greater or equal and minor_date_date, but does not respect minor or equal
Likewise try to perform the same query but with lte and gte; However the result is the same
query=DetalleParte.objects.filter(fecha_creacion__gte=fecha_inicio, fecha_creacion__lte=fecha_final)