MongoEngine/mongoengine — pull request #742 by bocribbz (2014-08-19 19:04:08+00:00)
Title: Allow atomic update for the entire `DictField`

Currently `DictField` only supports atomic updates for keys value.

This should allow updating the entire value of a `DictField`.

I had a similar situation like the one described in the test bellow, after `e.update(set__mapping={"ints": [3, 4]})` the type of data in `e.mapping` was `list`.