Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #666 from mjtamlyn/dup-select-related

Remove dup_select_related method.
  • Loading branch information...
commit b44a5d19244150010fa89691eb2262965fa681d8 2 parents 0db8627 + 389892a
@ptone ptone authored
Showing with 0 additions and 7 deletions.
  1. +0 −7 django/db/models/query.py
View
7 django/db/models/query.py
@@ -755,13 +755,6 @@ def prefetch_related(self, *lookups):
clone._prefetch_related_lookups.extend(lookups)
return clone
- def dup_select_related(self, other):
- """
- Copies the related selection status from the QuerySet 'other' to the
- current QuerySet.
- """
- self.query.select_related = other.query.select_related
-
def annotate(self, *args, **kwargs):
"""
Return a query set in which the returned objects have been annotated
Please sign in to comment.
Something went wrong with that request. Please try again.