Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
iter_options function should have no cutoff by deault
  • Loading branch information
lovelydinosaur committed Aug 21, 2015
commit 314c0095aabc118275ef5b374c9fbfd2123a22e6
2 changes: 1 addition & 1 deletion rest_framework/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down