We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3861026 commit 9c34109Copy full SHA for 9c34109
source/interact-data/crud.txt
@@ -182,12 +182,15 @@ retrieves a document in which the ``title`` value is ``"Boyhood"``:
182
183
<Movie: Boyhood>
184
185
-.. note::
+.. important::
186
187
If your query matches no documents or multiple documents, the ``get()``
188
method generates an error. To retrieve one document from a query
189
that might match multiple, chain the ``first()`` method to ``filter()``.
190
191
+.. TODO: To view an example that uses the ``first()`` method, see
192
+ :ref:`` in the Specify a Query guide.
193
+
194
.. _django-crud-modify:
195
196
Modify Documents
0 commit comments