From 69ee7c8d76da72d1392ed2a2597ed094da05d57e Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 23 Dec 2014 14:23:58 -0500 Subject: [PATCH] Removed models.Field.bind() -- unused/undocumented since at least 1.0. --- django/db/models/fields/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py index 6a56603359..0a87f7812c 100644 --- a/django/db/models/fields/__init__.py +++ b/django/db/models/fields/__init__.py @@ -782,9 +782,6 @@ class Field(RegisterLookupMixin): """ return smart_text(self._get_val_from_obj(obj)) - def bind(self, fieldmapping, original, bound_field_class): - return bound_field_class(self, fieldmapping, original) - def _get_choices(self): if isinstance(self._choices, collections.Iterator): choices, self._choices = tee(self._choices)