pypi modify: middle debug toolbar mongo query