MongoEngine/mongoengine — pull request #192 by jaimeirurzun (2012-12-07 15:44:39+00:00)
Title: Allow to bulk-insert documents with custom pks

Documents with a custom pk have it set before being inserted into the db. Rather than adding an allow_pk=False to the insert() method, I think it makes more sense to just remove the check, as the same problem this is trying to prevent (duplicated pk) could still happen due to any other unique field being duplicated; so it feels a bit useless to try to avoid it only in this case!