Skip to content

Commit 3861026

Browse files
committed
AC feedback
1 parent 073c29c commit 3861026

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/interact-data/crud.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ visit the :ref:`django-get-started` tutorial.
102102
Insert Documents
103103
----------------
104104

105-
To insert a document into a collection, call the ``create()`` method
106-
on an instance of your model's ``Manager`` class. Pass the new document's
107-
fields and values as arguments to the ``create()`` method.
105+
To insert a document into a collection, call the ``create()`` method on your
106+
model's ``Manager`` class. Pass the new document's field names and field values
107+
as arguments to the ``create()`` method.
108108

109109
Example
110110
~~~~~~~
@@ -131,8 +131,8 @@ of ``141``:
131131
Read Documents
132132
--------------
133133

134-
To retrieve documents from your collection, call the ``filter()`` method on an
135-
instance of your model's ``Manager`` class. Pass a query filter, or criteria
134+
To retrieve documents from your collection, call the ``filter()`` method
135+
on your model's ``Manager`` class. Pass a query filter, or criteria
136136
that specifies which documents to retrieve, as an argument to the ``filter()`` method.
137137

138138
Alternatively, you can call the ``get()`` method to retrieve a single document
@@ -194,7 +194,7 @@ Modify Documents
194194
----------------
195195

196196
To modify documents in a collection, call the ``filter()`` and ``update()``
197-
methods on an instance of your model's ``Manager`` class. Pass a query filter,
197+
methods on your model's ``Manager`` class. Pass a query filter,
198198
or criteria that specifies which documents to update, as an argument to the
199199
``filter()`` method. Then, pass the fields and values you want to update as
200200
arguments to the ``update()`` method.
@@ -229,7 +229,7 @@ Delete Documents
229229
----------------
230230

231231
To delete documents in a collection, call the ``filter()`` and ``delete()``
232-
methods on an instance of your model's ``Manager`` class. Pass a query filter,
232+
methods on your model's ``Manager`` class. Pass a query filter,
233233
or criteria that specifies which documents to delete, as an argument to the
234234
``filter()`` method.
235235

0 commit comments

Comments
 (0)