Updated changelog - fixed dynamic document issue

This commit is contained in:
Ross Lawley
2012-08-13 16:42:51 +01:00
parent 2bb9493fcf
commit 529c522594
3 changed files with 9 additions and 4 deletions

View File

@@ -897,10 +897,7 @@ class BaseDocument(object):
cls = get_document(value['_cls'])
if PY25:
value = dict([(str(k), v) for k, v in value.items()])
value = cls(**value)
value._dynamic = True
value._changed_fields = []
return value
return cls(**value)
data = {}
for k, v in value.items():