summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-01-29 12:53:57 -0500
committerTim Graham <timograham@gmail.com>2015-01-29 13:31:12 -0500
commitf60973111806100d284d41c12206c04740063549 (patch)
tree1de63f5951e6993718fce7c5fabf415e78ba1dc8
parentf1ff9407c94c4574d100efc3d224c1f79e2fb53d (diff)
Removed ForeignObjectRel.get_lookup_constraint() [unused].
-rw-r--r--django/db/models/fields/related.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/django/db/models/fields/related.py b/django/db/models/fields/related.py
index d917b01e4d..6952518d5d 100644
--- a/django/db/models/fields/related.py
+++ b/django/db/models/fields/related.py
@@ -1374,11 +1374,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