django-mongokit icon indicating copy to clipboard operation
django-mongokit copied to clipboard

How to use mongokit dbrefs with django_mongokit

Open ambasta opened this issue 10 years ago • 0 comments

Hi,

With pymongo I can specify: db.add_son_manipulator(NamespaceInjector()) db.add_son_manipulator(AutoReference(db))

and then set dbref as: db.collection({'attr': db.collection_alt.find_one({params}), ...}).save()

How do I achieve the same with django_mongokit

ambasta avatar Feb 24 '14 10:02 ambasta