Hi,
I am working on a Django project which uses MongoDB as database. I am using Djongo as plugin to interface Django with MongoDB.
In one of my models, when i try to save, the id field is not saved in MongoDB. But, if i force a value to id field before saving the object, the id field is stroed in database.
I have other models in my project and they have id fields stored in MongoDB. So, the issue is specific to a model.
I checked my migration files and id field is defined properly. Looks like when save the object, the id field is not stored for specific model.
Can you please suggest how i can debug this issue?