@@ -80,8 +80,6 @@ The ``Movie`` model class includes an inner ``Meta`` class and a ``__str__()`` m
80
80
To learn about these model features, see :ref:`django-models-define` in the
81
81
Create Models guide.
82
82
83
- Test: :djangoclass:`~django.db.models.IntegerField`
84
-
85
83
Run Code Examples
86
84
`````````````````
87
85
@@ -139,9 +137,9 @@ code:
139
137
140
138
.. tip::
141
139
142
- To learn more about the ``create()`` method, see
143
- : django:meth:`~django.db. models.query.QuerySet. create()` in the {+framework+}
144
- documentation.
140
+ To learn more about the ``create()`` method, see `create()
141
+ <{+ django-docs+}/ref/ models/querysets/# create>`__ in the {+framework+}
142
+ documentation.
145
143
146
144
.. _django-crud-read:
147
145
@@ -180,9 +178,9 @@ returns ``Movie`` objects that represent movies released on January 1, 2000:
180
178
181
179
.. tip::
182
180
183
- To learn more about the ``filter()`` method, see
184
- :meth:`~ django.db. models.query.QuerySet. filter()` in the {+framework+}
185
- documentation.
181
+ To learn more about the ``filter()`` method, see `filter()
182
+ <{+ django-docs+}/ref/ models/querysets/# filter>`__ in the {+framework+}
183
+ documentation.
186
184
187
185
Return One Document Example
188
186
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -218,9 +216,9 @@ retrieves a document in which the ``title`` value is ``"Boyhood"``:
218
216
219
217
.. tip::
220
218
221
- To learn more about the ``get()`` method, see
222
- :meth:`~ django.db. models.query.QuerySet. get()` in the {+framework+}
223
- documentation.
219
+ To learn more about the ``get()`` method, see `get()
220
+ <{+ django-docs+}/ref/ models/querysets/# get>`__ in the {+framework+}
221
+ documentation.
224
222
225
223
.. _django-crud-modify:
226
224
@@ -259,9 +257,9 @@ a document that has a ``title`` value of ``"High Fidelity"`` and adds a
259
257
260
258
.. tip::
261
259
262
- To learn more about the ``update()`` method, see
263
- :meth:`~ django.db. models.query.QuerySet. update()` in the {+framework+}
264
- documentation.
260
+ To learn more about the ``update()`` method, see `update()
261
+ <{+ django-docs+}/ref/ models/querysets/# update>`__ in the {+framework+}
262
+ documentation.
265
263
266
264
.. _django-crud-delete:
267
265
@@ -297,10 +295,9 @@ and deletes documents that have a ``runtime`` value of ``5``:
297
295
298
296
.. tip::
299
297
300
- To learn more about the ``delete()`` method, see
301
- :meth:`~django.db.models.query.QuerySet.delete()` in the {+framework+}
302
- documentation.
303
-
298
+ To learn more about the ``delete()`` method, see `delete()
299
+ <{+django-docs+}/ref/models/querysets/#delete>`__ in the {+framework+}
300
+ documentation.
304
301
305
302
Additional Information
306
303
----------------------
0 commit comments