Commit 69ee7c8d authored by Tim Graham's avatar Tim Graham
Browse files

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

parent 30cbd5d3
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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)