mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-23 15:54:16 +03:00
iter_options function should have no cutoff by deault
This commit is contained in:
parent
99beeb80e1
commit
314c0095aa
|
@ -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.
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user