diff --git a/rest_framework/utils/serializer_helpers.py b/rest_framework/utils/serializer_helpers.py index 9d2f70c88..6172ce81e 100644 --- a/rest_framework/utils/serializer_helpers.py +++ b/rest_framework/utils/serializer_helpers.py @@ -72,7 +72,7 @@ class BoundField(object): )) def as_form_field(self): - return BoundField(self._field, force_text(self.value), self.errors, self._prefix) + return self.__class__(self._field, force_text(self.value), self.errors, self._prefix) class NestedBoundField(BoundField):