Removed models.Field.bind() -- unused/undocumented since at least 1.0.

This commit is contained in:
Tim Graham 2014-12-23 14:23:58 -05:00
parent 30cbd5d360
commit 69ee7c8d76
1 changed files with 0 additions and 3 deletions

View File

@ -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)