mirror of
https://github.com/django/django.git
synced 2025-12-02 00:01:29 +00:00
Fixed #7848 -- Removed a bunch of code that wasn't contributing to society. Thanks, julien
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
29f0e8182f
commit
0894ddb2bb
3 changed files with 2 additions and 16 deletions
|
|
@ -1213,7 +1213,6 @@ class Query(object):
|
|||
raise MultiJoin(pos + 1)
|
||||
if model:
|
||||
# The field lives on a base class of the current model.
|
||||
alias_list = []
|
||||
for int_model in opts.get_base_chain(model):
|
||||
lhs_col = opts.parents[int_model].column
|
||||
dedupe = lhs_col in opts.duplicate_targets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue