File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ your connection to MongoDB in the following ways:
32
32
- :ref:`django-connection-configure-manual` by specifying the
33
33
``DATABASES`` variable in your project's settings.
34
34
- :ref:`django-connection-configure-automatic` by using
35
- the ``parse_uri()`` method .
35
+ the ``parse_uri()`` function .
36
36
37
37
.. tip::
38
38
@@ -141,8 +141,8 @@ Automatically Configure Database Settings
141
141
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142
142
143
143
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:
146
146
147
147
- ``uri``: Your MongoDB connection URI.
148
148
- ``conn_max_age``: Configures persistent database connections.
@@ -157,8 +157,8 @@ method accepts the following arguments:
157
157
Example
158
158
```````
159
159
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>`
162
162
example:
163
163
164
164
.. code-block:: python
You can’t perform that action at this time.
0 commit comments