I have a model with field \"created_at\", and I have a list of dates. So, I want to get all the models that are created in the date range. How ?
I know that we ca
You can use __gte (greater than or equal) and __lte (less than or equal). For example:
__gte
__lte
queryset.filter(created_at__gte=datetime.date.today())