Changed MappingField default error messages

This commit is contained in:
Anton-Shutik 2015-07-01 15:16:28 +03:00
parent 643893334b
commit 34232b0199

View File

@ -1169,8 +1169,8 @@ class MultipleChoiceField(ChoiceField):
class MappingField(Field): class MappingField(Field):
default_error_messages = { default_error_messages = {
'key_not_found': _('"{value}" not found in "mapping" dict'), 'key_not_found': _('"{value}" not found in "mapping" keys'),
'value_not_found': _('"{value}" not found in "mapping" dict') 'value_not_found': _('"{value}" not found in "mapping" values')
} }
def __init__(self, mapping, **kwargs): def __init__(self, mapping, **kwargs):