[Answered ]-Access original Mongodb data of a Django Model


I don’t think there’s a good way to do this.

The fields selected are limited at query time to the fields in the model:



Can you use a dict field/embedded object and have some kind of document level namespace to grab these from?



If there’s a way to do this using a SQL database and it doesn’t work with MongoDB Engine, please open a bug report. Otherwise I’m afraid you need to get this feature into Django first 🙂

Leave a comment