@@ -115,10 +115,10 @@ code:
115
115
116
116
.. tip::
117
117
118
- To learn more about the ``create()`` method, see `create()
119
- <{+ django-docs+}/ref/ models/querysets/# create>`__ in the {+framework+}
118
+ To learn more about the ``create()`` method, see
119
+ :py:function:`~ django.db. models.query.QuerySet. create` in the {+framework+}
120
120
documentation.
121
-
121
+
122
122
.. _django-crud-read:
123
123
124
124
Read Documents
@@ -155,10 +155,10 @@ returns ``Movie`` objects that represent movies released on January 1, 2000:
155
155
156
156
.. tip::
157
157
158
- To learn more about the ``filter()`` method, see `filter()
159
- <{+ django-docs+}/ref/ models/querysets/# filter>`__ in the {+framework+}
160
- documentation.
161
-
158
+ To learn more about the ``filter()`` method, see
159
+ :py:function:`~ django.db. models.query.QuerySet. filter`
160
+ in the {+framework+} documentation.
161
+
162
162
Return One Document Example
163
163
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164
164
@@ -192,9 +192,9 @@ retrieves a document in which the ``title`` value is ``"Boyhood"``:
192
192
193
193
.. tip::
194
194
195
- To learn more about the ``get()`` method, see `get()
196
- <{+ django-docs+}/ref/ models/querysets/# get>`__ in the {+framework+}
197
- documentation.
195
+ To learn more about the ``get()`` method, see
196
+ :py:function:`~ django.db. models.query.QuerySet. get`
197
+ in the {+framework+} documentation.
198
198
199
199
.. _django-crud-modify:
200
200
@@ -231,9 +231,9 @@ a document that has a ``title`` value of ``"High Fidelity"`` and adds a
231
231
232
232
.. tip::
233
233
234
- To learn more about the ``update()`` method, see `update()
235
- <{+ django-docs+}/ref/ models/querysets/# update>`__ in the {+framework+}
236
- documentation.
234
+ To learn more about the ``update()`` method, see
235
+ :py:function:`~ django.db. models.query.QuerySet. update`
236
+ in the {+framework+} documentation.
237
237
238
238
.. _django-crud-delete:
239
239
@@ -268,9 +268,9 @@ and deletes documents that have a ``runtime`` value of ``5``:
268
268
269
269
.. tip::
270
270
271
- To learn more about the ``delete()`` method, see `delete()
272
- <{+ django-docs+}/ref/ models/querysets/# delete>`__ in the {+framework+}
273
- documentation.
271
+ To learn more about the ``delete()`` method, see
272
+ :py:function:`~ django.db. models.query.QuerySet. delete`
273
+ in the {+framework+} documentation.
274
274
275
275
Additional Information
276
276
----------------------
0 commit comments