From d0c343372f62bbcccba844350353220af114f10b Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 29 Jan 2015 12:53:57 -0500 Subject: [PATCH] [1.8.x] Removed ForeignObjectRel.get_lookup_constraint() [unused]. Backport of f60973111806100d284d41c12206c04740063549 from master --- django/db/models/fields/related.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/django/db/models/fields/related.py b/django/db/models/fields/related.py index e6ecd98537..bcf7dd7a17 100644 --- a/django/db/models/fields/related.py +++ b/django/db/models/fields/related.py @@ -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