mongoengine
mongoengine copied to clipboard
Reloading documents is not working on classes which has references for abstract classes
Reloading documents is not working on classes which has references for abstract classes.
import mongoengine as me
me.connect('test')
class Place(me.Document):
meta = {'abstract': True}
class Inventory(Place):
pass
class Item(Place):
place = me.ReferenceField(Place)
inventory = Inventory().save()
item = Item(place=inventory).save()
item.reload()
I have the same issue right now. Have you found a solution or workaround?