diff --git a/rest_framework/relations.py b/rest_framework/relations.py index 7e04e7e47e..d2ae75f206 100644 --- a/rest_framework/relations.py +++ b/rest_framework/relations.py @@ -164,6 +164,9 @@ def choices(self): # even when accessed with a read-only field. return {} + if self.html_cutoff is not None: + queryset = queryset[:self.html_cutoff] + return OrderedDict([ ( six.text_type(self.to_representation(item)),