Skip to content

Commit e99439d

Browse files
committed
Quick dock render fix
1 parent 0c1c030 commit e99439d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ Or, if you are setting up your database before your app is initialized, as is th
4444
db.init_app(app)
4545

4646

47-
By default, Flask-MongoEngine assumes that the :program:`mongod` instance is running
47+
By default, Flask-MongoEngine assumes that the `mongod` instance is running
4848
on **localhost** on port **27017**, and you wish to connect to the database named **test**.
4949

50-
If MongoDB is running elsewhere, you should provide the :attr:`host` and :attr:`port` settings
50+
If MongoDB is running elsewhere, you should provide the `host` and `port` settings
5151
in the `'MONGODB_SETTINGS'` dictionary wih `app.config`.::
5252

5353
app.config['MONGODB_SETTINGS'] = {
@@ -56,7 +56,7 @@ in the `'MONGODB_SETTINGS'` dictionary wih `app.config`.::
5656
'port': 12345
5757
}
5858

59-
If the database requires authentication, the :attr:`username` and :attr:`password`
59+
If the database requires authentication, the `username` and `password`
6060
arguments should be provided `'MONGODB_SETTINGS'` dictionary wih `app.config`.::
6161

6262
app.config['MONGODB_SETTINGS'] = {
@@ -65,7 +65,7 @@ arguments should be provided `'MONGODB_SETTINGS'` dictionary wih `app.config`.::
6565
'password':'pwd123'
6666
}
6767

68-
Uri style connections are also supported, just supply the uri as the :attr:`host`
68+
Uri style connections are also supported, just supply the uri as the `host`
6969
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'. ::
7070

7171
app.config['MONGODB_SETTINGS'] = {

0 commit comments

Comments
 (0)