fix DictKey initial value

This commit is contained in:
Janusz Harkot 2015-02-27 19:46:36 +01:00
parent 700af5dab2
commit 9098856d46

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}".')
}