Leaklens

django__django-9296

Paginator just implement the __iter__ function

Verdict: the fix is stated in the issue (Tier A).

def __iter__(self): for page_num in self.page_range: yield self.page(page_num)

The text states the fix: “def __iter__(self): for page_num in self.page_range: yield self.page(page_num)”

All SWE-bench Verified tasks · more django/django tasks · How the check works