TopLevelDocumentMetaClass sets _meta['index_opts'] not _meta['index_options']
This commit is contained in:
		| @@ -498,7 +498,7 @@ class QuerySet(object): | |||||||
|  |  | ||||||
|             background = self._document._meta.get('index_background', False) |             background = self._document._meta.get('index_background', False) | ||||||
|             drop_dups = self._document._meta.get('index_drop_dups', False) |             drop_dups = self._document._meta.get('index_drop_dups', False) | ||||||
|             index_opts = self._document._meta.get('index_options', {}) |             index_opts = self._document._meta.get('index_opts', {}) | ||||||
|             index_types = self._document._meta.get('index_types', True) |             index_types = self._document._meta.get('index_types', True) | ||||||
|  |  | ||||||
|             # determine if an index which we are creating includes |             # determine if an index which we are creating includes | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user