QuerySet class in MongoEngine does not have .model key as the django.db.models.query.QuerySet.model in
oussjarrousse opened this issue · 1 comments
oussjarrousse commented
QuerySet class in MongoEngine does not have .model key as the in the QuerySet class as defined in django.db.models.query.QuerySet.
adding this field to queryset on initialization could allow for better compatibility with DRF and related packages.
bagerard commented
Providing compatibility with DRF is not necessarly a must-have for MongoEngine but I don't mind doing small changes to try to support.
I'm not familiar with it QuerySet.model in django, does it return the Model class? We have it under Queryset._document
in MongoEngine.
Would having it under .model
help you in any way?