@@ -26,8 +26,8 @@ collection.
26
26
27
27
You can also use the {+framework+} admin site to edit your models
28
28
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.
31
31
32
32
Query API
33
33
~~~~~~~~~
@@ -41,9 +41,9 @@ to every model class.
41
41
42
42
.. tip::
43
43
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.
47
47
48
48
This guide shows how to use the following ``QuerySet`` methods:
49
49
@@ -116,7 +116,7 @@ code:
116
116
.. tip::
117
117
118
118
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+}
120
120
documentation.
121
121
122
122
.. _django-crud-read:
@@ -156,7 +156,7 @@ returns ``Movie`` objects that represent movies released on January 1, 2000:
156
156
.. tip::
157
157
158
158
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`
160
160
in the {+framework+} documentation.
161
161
162
162
Return One Document Example
@@ -193,7 +193,7 @@ retrieves a document in which the ``title`` value is ``"Boyhood"``:
193
193
.. tip::
194
194
195
195
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`
197
197
in the {+framework+} documentation.
198
198
199
199
.. _django-crud-modify:
@@ -232,7 +232,7 @@ a document that has a ``title`` value of ``"High Fidelity"`` and adds a
232
232
.. tip::
233
233
234
234
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`
236
236
in the {+framework+} documentation.
237
237
238
238
.. _django-crud-delete:
@@ -269,7 +269,7 @@ and deletes documents that have a ``runtime`` value of ``5``:
269
269
.. tip::
270
270
271
271
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`
273
273
in the {+framework+} documentation.
274
274
275
275
Additional Information
0 commit comments