def get_future_days ( self ) : today = timezone . now ( ) . date ( ) return Day . objects . filter ( date__gte = today )
python django date past queryset today
Return only future Day objects .
def get_future_days(self):
        """Return only future Day objects."""
        today = timezone.now().date()

        return Day.objects.filter(date__gte=today)