Merge pull request #2616 from jerzyk/fix_dictfield

fix DictKey initial value
This commit is contained in:
José Padilla 2015-02-27 14:56:09 -04:00
commit 33c4278ec8

View File

@ -1191,7 +1191,7 @@ class ListField(Field):
class DictField(Field):
child = _UnvalidatedField()
initial = []
initial = {}
default_error_messages = {
'not_a_dict': _('Expected a dictionary of items but got type "{input_type}".')
}