Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fixed bug https://code.djangoproject.com/ticket/19607 #970

Closed
wants to merge 1 commit into from

2 participants

tonnzor Tim Graham
tonnzor

Fixed crash on prefetch_related. See https://code.djangoproject.com/ticket/19607

Tim Graham timgraham closed this May 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Mar 28, 2013
tonnzor Update query.py
Fixed crash on prefetch_related. See https://code.djangoproject.com/ticket/19607
f72483b
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/db/models/query.py
2  django/db/models/query.py
@@ -1647,7 +1647,7 @@ def prefetch_related_objects(result_cache, related_lookups):
1647 1647
                         break
1648 1648
                 else:
1649 1649
                     # We already did this list
1650  
-                    break
  1650
+                    pass
1651 1651
             if not good_objects:
1652 1652
                 break
1653 1653
 
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.