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:
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
143143To 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:
157157Example
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>`
162162example:
163163
164164.. code-block:: python
You can’t perform that action at this time.
0 commit comments