Commit 99beeb80 by Tom Christie

No cutoff for default ChoiceField, only for relationships

parent f4412d08
...@@ -1202,7 +1202,7 @@ class ChoiceField(Field): ...@@ -1202,7 +1202,7 @@ class ChoiceField(Field):
default_error_messages = { default_error_messages = {
'invalid_choice': _('"{input}" is not a valid choice.') 'invalid_choice': _('"{input}" is not a valid choice.')
} }
html_cutoff = 1000 html_cutoff = None
html_cutoff_text = _('More than {count} items...') html_cutoff_text = _('More than {count} items...')
def __init__(self, choices, **kwargs): def __init__(self, choices, **kwargs):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment