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
No cutoff for default ChoiceField, only for relationships
  • Loading branch information
lovelydinosaur committed Aug 21, 2015
commit 99beeb80e1819dc16f02079fa70b65f4f2b212be
2 changes: 1 addition & 1 deletion rest_framework/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down