Answers:
使用__range
运算符:
...filter(current_issue__isnull=True, created_at__range=(start_date, end_date))
两种方法
.filter(created_at__range=[from_date, to_date])
另一种方法
.filter(Q(created_at__gte=from_date)&Q(created_at__lte=to_date))
.filter(created_at__gte=from_date, created_at__lte=to_date)