Skip to content

Commit e090909

Browse files
authored
Merge pull request #419 from MongoEngine/travis-update
Travis updated to use focal ubuntu images
2 parents 0c1c030 + 3366994 commit e090909

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
dist: xenial
1+
dist: focal
22
os: linux
33

44
language: python

docs/index.rst

+4-4
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)