magic-removal: Refs #1346 -- Removed some redundant code that was missed in the checkin for r2381.

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2384 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2006-02-24 10:42:32 +00:00
parent 4708aee311
commit 86a6ce8983
1 changed files with 0 additions and 8 deletions

View File

@ -288,14 +288,6 @@ class ReverseManyRelatedObjectsDescriptor(object):
class RelatedManager(superclass):
def get_query_set(self):
return superclass.get_query_set(self).extra(
tables=(join_table,),
where=[
'%s.%s = %s.%s' % (qn(rel_opts.db_table), qn(rel_opts.pk.column), join_table, target_col_name),
'%s.%s = %%s' % (join_table, source_col_name)
],
params = [instance._get_pk_val()]
)
return superclass.get_query_set(self).filter(**(self.core_filters))
def add(self, *objs, **kwargs):