Determine if __cmp__ in Package model is safe with mongoengine
There is a scary todo and some discussion about it during review. This overrides the mongoengine cmp which may have unintentional side effects. For example querysets and caching in mongoengine may rely on the builtin cmp definition behavior for core functionality.
I think the key question to answer here is: "Is overriding the mongoengine the cmp safe?"
Come up with an answer to that question, remove the scary DANGER note, and adjust the code so that it's safe.