revert aggregate change
This commit is contained in:
		@@ -1177,7 +1177,7 @@ class BaseQuerySet(object):
 | 
			
		||||
 | 
			
		||||
        pipeline = initial_pipeline + list(pipeline)
 | 
			
		||||
 | 
			
		||||
        return self._collection.aggregate(pipeline, **kwargs)
 | 
			
		||||
        return self._collection.aggregate(pipeline, cursor={}, **kwargs)
 | 
			
		||||
 | 
			
		||||
    # JS functionality
 | 
			
		||||
    def map_reduce(self, map_f, reduce_f, output, finalize_f=None, limit=None,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user