Merge branch 'master' of github.com:MongoEngine/mongoengine into Pacu2-fix/add-dev-tools
This commit is contained in:
		| @@ -153,7 +153,7 @@ inherited classes like so: :: | ||||
|  | ||||
|     # 4. Remove indexes | ||||
|     info = collection.index_information() | ||||
|     indexes_to_drop = [key for key, value in info.iteritems() | ||||
|     indexes_to_drop = [key for key, value in info.items() | ||||
|                        if '_types' in dict(value['key'])] | ||||
|     for index in indexes_to_drop: | ||||
|         collection.drop_index(index) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user