MongoEngine/mongoengine — pull request #799 by aericson (2014-11-09 19:22:55+00:00)
Title: Better BaseDocument equality check when not saved

When 2 instances of a Document had id = None they would be considered
equal unless an __eq__ were implemented.

We now return False for such case. It now behaves more similar to
Django's ORM.