Skip to content

Commit 90b7c58

Browse files
committed
fix
1 parent 11d4f2c commit 90b7c58

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/configure-connection.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ your connection to MongoDB in the following ways:
3232
- :ref:`django-connection-configure-manual` by specifying the
3333
``DATABASES`` variable in your project's settings.
3434
- :ref:`django-connection-configure-automatic` by using
35-
the ``parse_uri()`` method.
35+
the ``parse_uri()`` function.
3636

3737
.. tip::
3838

@@ -141,8 +141,8 @@ Automatically Configure Database Settings
141141
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142142

143143
To automatically construct the ``DATABASES`` setting that configures
144-
your MongoDB connection, you can use the ``parse_uri()`` method. This
145-
method accepts the following arguments:
144+
your MongoDB connection, you can use the ``parse_uri()`` function. This
145+
function accepts the following arguments:
146146

147147
- ``uri``: Your MongoDB connection URI.
148148
- ``conn_max_age``: Configures persistent database connections.
@@ -157,8 +157,8 @@ method accepts the following arguments:
157157
Example
158158
```````
159159

160-
The following example uses the ``parse_uri()`` method to specify
161-
the same connection configuration as the previous :ref:`manual configuration <django-manual-config-example>`
160+
The following example uses the ``parse_uri()`` function to specify
161+
the same connection configuration as the previous :ref:`manual configuration <django-manual-config-example>`
162162
example:
163163

164164
.. code-block:: python

0 commit comments

Comments
 (0)