Branch: refs/heads/stable/1.5.x
  Home:   https://github.com/django/django
  Commit: d1e87eb3baf75b1b6a0ada46a9b77f7e347cdb60
      
https://github.com/django/django/commit/d1e87eb3baf75b1b6a0ada46a9b77f7e347cdb60
  Author: Grzegorz Nosek <[email protected]>
  Date:   2013-02-23 (Sat, 23 Feb 2013)

  Changed paths:
    M django/db/models/query.py
    M tests/modeltests/basic/tests.py

  Log Message:
  -----------
  [1.5.x] Fixed #19895 -- Made second iteration over invalid queryset raise an 
exception too

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.



-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to