MongoEngine/mongoengine — pull request #626 by KonishchevDmitry (2014-04-09 10:42:30+00:00)
Title: Raise NotUniqueError in Document.update() on pymongo.errors.DuplicateKeyError

At this time there is no way to determine whether an update failed due to non-unique field value in a document.