From 37421d7bf6ff010fb2403a5023e9cb8150237c0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D1=80=D0=B8=D1=88=D0=BA=D0=B0?= Date: Fri, 27 Apr 2018 16:25:48 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1larify=20new=20URI=20style=20setting=20pr?= =?UTF-8?q?occesing.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previous explanation supposed this interpretation https://github.com/MongoEngine/flask-mongoengine/pull/324. Since pull-request #324 didn't merge documentation should explain why. --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index ccedf171..13d6728c 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -59,7 +59,7 @@ arguments should be provided `'MONGODB_SETTINGS'` dictionary wih `app.config`.:: } Uri style connections are also supported, just supply the uri as the :attr:`host` -in the `'MONGODB_SETTINGS'` dictionary with `app.config`. **Note that database name from uri has priority over name.** :: +in the `'MONGODB_SETTINGS'` dictionary with `app.config`. **Note that database name from uri has priority over name.** If uri presents and doesn't contain database name db setting entirely ignore and db name set to 'test'. :: app.config['MONGODB_SETTINGS'] = { 'db': 'project1',