fix doc for meta index_options

This commit is contained in:
Bastien Gérard 2018-09-06 22:33:24 +02:00
parent 00363303b1
commit a86092fb64

View File

@ -529,7 +529,7 @@ There are a few top level defaults for all indexes that can be set::
title = StringField() title = StringField()
rating = StringField() rating = StringField()
meta = { meta = {
'index_options': {}, 'index_opts': {},
'index_background': True, 'index_background': True,
'index_cls': False, 'index_cls': False,
'auto_create_index': True, 'auto_create_index': True,
@ -537,7 +537,7 @@ There are a few top level defaults for all indexes that can be set::
} }
:attr:`index_options` (Optional) :attr:`index_opts` (Optional)
Set any default index options - see the `full options list <http://docs.mongodb.org/manual/reference/method/db.collection.ensureIndex/#db.collection.ensureIndex>`_ Set any default index options - see the `full options list <http://docs.mongodb.org/manual/reference/method/db.collection.ensureIndex/#db.collection.ensureIndex>`_
:attr:`index_background` (Optional) :attr:`index_background` (Optional)