mirror of
https://github.com/django/django.git
synced 2025-03-14 19:30:46 +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 2cd0edaa477b327024e4007c8eaf46646dcd0f21 from master.