[Answer]-Django queryset with mongodb

1👍

Your query should work without overriding any method.

class ObjectResource(ModelResource):

class Meta:
    queryset = Object.objects.all()
    resource_name = 'object'
    filtering = {
        "published": ['gte', 'lte', 'exact'],
        }
link: .../api/v1/object/?format=json&published__gte=2012-02-18&published__lte=2013-02-24

Leave a comment