When Tastypie accesses query terms used by QuerySet it assumes the interface of Django ORM.
We use a mock Query object to provide the same interface and return query terms by MongoEngine.
MongoEngine code might not expose these query terms, so we fallback to hard-coded values.
I'll just paste a comment from the code:
When Tastypie accesses query terms used by QuerySet it assumes the interface of Django ORM. We use a mock Query object to provide the same interface and return query terms by MongoEngine. MongoEngine code might not expose these query terms, so we fallback to hard-coded values.