Skip to content

Commit 9c34109

Browse files
committed
wording
1 parent 3861026 commit 9c34109

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/interact-data/crud.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,15 @@ retrieves a document in which the ``title`` value is ``"Boyhood"``:
182182

183183
<Movie: Boyhood>
184184

185-
.. note::
185+
.. important::
186186

187187
If your query matches no documents or multiple documents, the ``get()``
188188
method generates an error. To retrieve one document from a query
189189
that might match multiple, chain the ``first()`` method to ``filter()``.
190190

191+
.. TODO: To view an example that uses the ``first()`` method, see
192+
:ref:`` in the Specify a Query guide.
193+
191194
.. _django-crud-modify:
192195

193196
Modify Documents

0 commit comments

Comments
 (0)