From abe8070c36bbbd1598b4752bd5fb3b082b33c955 Mon Sep 17 00:00:00 2001 From: Andreas Doll Date: Mon, 8 Jul 2019 14:16:09 +0200 Subject: [PATCH] Document register_connection arguments in correct order (#2121) Put the documentation of the parameter 'name' of the function 'register_connection' in order of appearance in the function signature. --- mongoengine/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongoengine/connection.py b/mongoengine/connection.py index b1e12a96..8aa95daa 100644 --- a/mongoengine/connection.py +++ b/mongoengine/connection.py @@ -178,8 +178,8 @@ def register_connection( : param alias: the name that will be used to refer to this connection throughout MongoEngine - : param name: the name of the specific database to use : param db: the name of the database to use, for compatibility with connect + : param name: the name of the specific database to use : param host: the host name of the: program: `mongod` instance to connect to : param port: the port that the: program: `mongod` instance is running on : param read_preference: The read preference for the collection