mongoengine
mongoengine copied to clipboard
bson.errors.InvalidId exception "is not a valid ObjectId" when using ReferenceField('self') field
This is driving me crazy. Tested on MongoDB 7.0.2.