From 314c0095aabc118275ef5b374c9fbfd2123a22e6 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Fri, 21 Aug 2015 10:56:22 +0100 Subject: [PATCH] iter_options function should have no cutoff by deault --- 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 0bf442f5d..10a310280 100644 --- a/rest_framework/fields.py +++ b/rest_framework/fields.py @@ -156,7 +156,7 @@ def flatten_choices_dict(choices): return ret -def iter_options(grouped_choices, cutoff=1000, cutoff_text=None): +def iter_options(grouped_choices, cutoff=None, cutoff_text=None): """ Helper function for options and option groups in templates. """