[1.8.x] Removed ForeignObjectRel.get_lookup_constraint() [unused].

Backport of f609731118 from master
This commit is contained in:
Tim Graham 2015-01-29 12:53:57 -05:00
parent 590ee3ed16
commit d0c343372f
1 changed files with 0 additions and 5 deletions

View File

@ -1373,11 +1373,6 @@ class ForeignObjectRel(object):
# example custom multicolumn joins currently have no remote field).
self.field_name = None
def get_lookup_constraint(self, constraint_class, alias, targets, sources, lookup_type,
raw_value):
return self.field.get_lookup_constraint(constraint_class, alias, targets, sources,
lookup_type, raw_value)
def get_accessor_name(self, model=None):
# This method encapsulates the logic that decides what name to give an
# accessor descriptor that retrieves related many-to-one or