Skip to content

Commit aee2395

Browse files
committed
links
1 parent 2cc10db commit aee2395

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

source/interact-data/crud.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ collection.
2626

2727
You can also use the {+framework+} admin site to edit your models
2828
and their corresponding collections on a web interface. For
29-
more information, see the `Django Admin Site <https://docs.djangoproject.com/en/5.1/ref/contrib/admin/>`__
30-
entry in the {+framework+} documentation.
29+
more information, see :py:module:`~django.contrib.admin`
30+
in the {+framework+} documentation.
3131

3232
Query API
3333
~~~~~~~~~
@@ -41,9 +41,9 @@ to every model class.
4141

4242
.. tip::
4343

44-
To learn more about {+framework+}'s ``QuerySet`` API, see the
45-
`QuerySet API reference <https://docs.djangoproject.com/en/5.1/ref/models/querysets/>`__
46-
in the {+framework+} documentation.
44+
To learn more about {+framework+}'s ``QuerySet`` API, see
45+
:py:class:`~django.db.models.query.QuerySet` in the {+framework+}
46+
documentation.
4747

4848
This guide shows how to use the following ``QuerySet`` methods:
4949

@@ -116,7 +116,7 @@ code:
116116
.. tip::
117117

118118
To learn more about the ``create()`` method, see
119-
:py:function:`~django.db.models.query.QuerySet.create` in the {+framework+}
119+
:py:method:`~django.db.models.query.QuerySet.create` in the {+framework+}
120120
documentation.
121121

122122
.. _django-crud-read:
@@ -156,7 +156,7 @@ returns ``Movie`` objects that represent movies released on January 1, 2000:
156156
.. tip::
157157

158158
To learn more about the ``filter()`` method, see
159-
:py:function:`~django.db.models.query.QuerySet.filter`
159+
:py:method:`~django.db.models.query.QuerySet.filter`
160160
in the {+framework+} documentation.
161161

162162
Return One Document Example
@@ -193,7 +193,7 @@ retrieves a document in which the ``title`` value is ``"Boyhood"``:
193193
.. tip::
194194

195195
To learn more about the ``get()`` method, see
196-
:py:function:`~django.db.models.query.QuerySet.get`
196+
:py:method:`~django.db.models.query.QuerySet.get`
197197
in the {+framework+} documentation.
198198

199199
.. _django-crud-modify:
@@ -232,7 +232,7 @@ a document that has a ``title`` value of ``"High Fidelity"`` and adds a
232232
.. tip::
233233

234234
To learn more about the ``update()`` method, see
235-
:py:function:`~django.db.models.query.QuerySet.update`
235+
:py:method:`~django.db.models.query.QuerySet.update`
236236
in the {+framework+} documentation.
237237

238238
.. _django-crud-delete:
@@ -269,7 +269,7 @@ and deletes documents that have a ``runtime`` value of ``5``:
269269
.. tip::
270270

271271
To learn more about the ``delete()`` method, see
272-
:py:function:`~django.db.models.query.QuerySet.delete`
272+
:py:method:`~django.db.models.query.QuerySet.delete`
273273
in the {+framework+} documentation.
274274

275275
Additional Information

0 commit comments

Comments
 (0)