Given a name and two dates entered per parameter, I would like to make a query where I take all the values of that name in that date range.
I know the next way to compare in Django but this is strict and I would like to take the dates >=
and <=
. This is the way I know:
listuser.filter(day__lt=fechafinal_)
Y:
listuser.filter(day__gt=fechafinal_)
Will there be one for my case?