mirror of
https://github.com/django/django.git
synced 2025-10-27 23:56:08 +00:00
When iteration over a queryset raised an exception, the result cache
remained initialized with an empty list, so subsequent iterations returned
an empty list instead of raising an exception
Backport of 2cd0edaa47 from master.