Skip to content

Commit c02c87c

Browse files
committed
links
1 parent ada3826 commit c02c87c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

source/connect.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,11 @@ function accepts the following arguments:
147147
- ``uri``: Your MongoDB connection URI.
148148
- ``conn_max_age``: Configures persistent database connections.
149149
This argument is optional. To learn more, see
150-
`Persistent connections <{+django-docs+}/ref/databases/#persistent-database-connections>`__
150+
:py:mod:`persistent-database-connections`
151151
in the {+framework+} documentation.
152+
:py:module:`persistent-database-connections`
153+
:py:mod:`~persistent-database-connections`
154+
:py:module:`~persistent-database-connections`
152155
- ``test``: Provides a dictionary of settings for test
153156
databases. This argument is optional. To learn more, see
154157
`the TEST setting <{+django-docs+}/ref/settings/#test>`__

source/interact-data/raw-queries.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,9 @@ to the database in pipeline stages.
4040
{+framework+} provides a ``QuerySet.aggregate()`` method, which differs from the
4141
``QuerySet.raw_aggregate()`` method. You can use ``aggregate()`` to retrieve
4242
values by aggregating a collection of model objects. To learn more about
43-
the ``aggregate()`` method, see :py:mod:`~topics/db/aggregation`
43+
the ``aggregate()`` method, see :py:meth:`~django.db.models.query.QuerySet.aggregate`
4444
in the {+framework+} documentation.
45-
:py:module:`~topics/db/aggregation`
46-
:py:module:`topics/db/aggregation`
47-
:py:mod:`topics/db/aggregation`
48-
:py:meth:`~django.db.models.query.QuerySet.aggregate`
49-
45+
5046
You can run database queries by calling ``QuerySet`` methods on your model's
5147
``Manager``. The ``Manager`` class handles database operations and allows you
5248
to interact with your MongoDB data by referencing {+framework+} models. By default,

source/interact-data/specify-a-query.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,8 @@ provided ``KT()`` expressions.
741741
see the following resources in the {+framework+} documentation:
742742

743743
- `KT() expressions <{+django-docs+}/topics/db/queries/#module-django.db.models.fields.json>`__
744-
- `annotate() <{+django-docs+}/ref/models/querysets/#django.db.models.query.QuerySet.annotate>`__
744+
:py:mod:`~django.db.models.fields.json`
745+
- :py:meth:`~django.db.models.query.QuerySet.annotate`
745746

746747
The following example uses ``annotate()`` and ``KT()`` to create a
747748
new ``score`` key, which stores ``imdb.rating`` nested field values.

0 commit comments

Comments
 (0)