Sebastian Remander
Sebastian Remander
Did you try to implement a serializer for the embedded field `Nest`? Then, you need to apply it on the root serializer - otherwise `rest_framework` just serializes the fields that...
I see, that is unfortunate and definitely `djongo` issue after all. I don't know if it's a design choice or can they actually fix that, since the django-rest-framework does not...
Relates to #543 . The root cause seems to be that `djongo/sql2mongo/operators.py` fails to convert some sql queries to work with MongoDB.
Your query is defined incorrectly. This should work (I'm assuming you're searching for User documents that have field user_name which contains "sample") `user__user_name__contains="sample"`
ok :thinking: That error seems to be a problem with django, and not djongo.. Are you using MongoDB 3.6 or higher, as mentioned in the readme? (required for that type...