From 4ae60da58dff1542c0ce8bc10c62cb4cfbecea5d Mon Sep 17 00:00:00 2001 From: Vladimir Rutsky Date: Fri, 20 Feb 2015 19:59:36 +0300 Subject: [PATCH] fix reference format: "attr:`auto_create_index`" --- mongoengine/document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongoengine/document.py b/mongoengine/document.py index 03318c84..c46e4e18 100644 --- a/mongoengine/document.py +++ b/mongoengine/document.py @@ -113,7 +113,7 @@ class Document(BaseDocument): a **+** or **-** sign. Automatic index creation can be disabled by specifying - attr:`auto_create_index` in the :attr:`meta` dictionary. If this is set to + :attr:`auto_create_index` in the :attr:`meta` dictionary. If this is set to False then indexes will not be created by MongoEngine. This is useful in production systems where index creation is performed as part of a deployment system.