I'm trying to filter the query set on between two dates. here is my views.py
week = (startDate, endDate)
Student.objects.filter(created__range=week)
startDate and endDate is date objects
created is my datetime field
but I want filter on only date
i'd like to match the month, day, year exactly, not the time.
expected output is filter queryset between startDate and endDate