doableware / djongo

Django and MongoDB database connector
https://www.djongomapper.com
GNU Affero General Public License v3.0
1.88k stars 355 forks source link

model.save() and model.objects.filter() giving zero result half of the time. #674

Open navkantsingh opened 1 year ago

navkantsingh commented 1 year ago

I have logs to prove this.

This is a similar code to what I am doing in the system.

```python model.objects.get(id = "ABC") models.name = "new_name" models.save() updated_model = model.objects.filter(id = "ABC") ``` #### Traceback updated_model is an empty queryset most of the time, can you please look into that this could be an issue