From 99beeb80e1819dc16f02079fa70b65f4f2b212be Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Fri, 21 Aug 2015 10:53:10 +0100 Subject: [PATCH] No cutoff for default ChoiceField, only for relationships --- rest_framework/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/fields.py b/rest_framework/fields.py index a362c9d22..0bf442f5d 100644 --- a/rest_framework/fields.py +++ b/rest_framework/fields.py @@ -1202,7 +1202,7 @@ class ChoiceField(Field): default_error_messages = { 'invalid_choice': _('"{input}" is not a valid choice.') } - html_cutoff = 1000 + html_cutoff = None html_cutoff_text = _('More than {count} items...') def __init__(self, choices, **kwargs):