@@ -26,7 +26,7 @@ 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 :py:mod:`~django.contrib.admin `
29
+ more information, see :py:mod:`~django.contrib.admindocs `
30
30
in the {+framework+} documentation.
31
31
32
32
Query API
@@ -116,10 +116,8 @@ code:
116
116
.. tip::
117
117
118
118
To learn more about the ``create()`` method, see
119
- :py:method:`# django.db.models.query.QuerySet.create` in the {+framework+}
119
+ :py:meth:`~ django.db.models.query.QuerySet.create` in the {+framework+}
120
120
documentation.
121
- :py:meth:`~django.db.models.query.QuerySet.create`
122
- :py:class:`~django.contrib.auth.middleware.AuthenticationMiddleware`
123
121
124
122
.. _django-crud-read:
125
123
@@ -158,7 +156,7 @@ returns ``Movie`` objects that represent movies released on January 1, 2000:
158
156
.. tip::
159
157
160
158
To learn more about the ``filter()`` method, see
161
- :py:method :`~django.db.models.query.QuerySet.filter`
159
+ :py:meth :`~django.db.models.query.QuerySet.filter`
162
160
in the {+framework+} documentation.
163
161
164
162
Return One Document Example
@@ -195,7 +193,7 @@ retrieves a document in which the ``title`` value is ``"Boyhood"``:
195
193
.. tip::
196
194
197
195
To learn more about the ``get()`` method, see
198
- :py:method :`~django.db.models.query.QuerySet.get`
196
+ :py:meth :`~django.db.models.query.QuerySet.get`
199
197
in the {+framework+} documentation.
200
198
201
199
.. _django-crud-modify:
@@ -234,7 +232,7 @@ a document that has a ``title`` value of ``"High Fidelity"`` and adds a
234
232
.. tip::
235
233
236
234
To learn more about the ``update()`` method, see
237
- :py:method :`~django.db.models.query.QuerySet.update`
235
+ :py:meth :`~django.db.models.query.QuerySet.update`
238
236
in the {+framework+} documentation.
239
237
240
238
.. _django-crud-delete:
@@ -271,7 +269,7 @@ and deletes documents that have a ``runtime`` value of ``5``:
271
269
.. tip::
272
270
273
271
To learn more about the ``delete()`` method, see
274
- :py:method :`~django.db.models.query.QuerySet.delete`
272
+ :py:meth :`~django.db.models.query.QuerySet.delete`
275
273
in the {+framework+} documentation.
276
274
277
275
Additional Information
0 commit comments