2👍
If you are doing date search you can use the range field look up function.
https://docs.djangoproject.com/en/1.7/ref/models/querysets/#range
Eg. Employee.objects.filter(bday__range=(start_date, end_date))
Source:stackexchange.com
2👍
If you are doing date search you can use the range field look up function.
https://docs.djangoproject.com/en/1.7/ref/models/querysets/#range
Eg. Employee.objects.filter(bday__range=(start_date, end_date))