Skip to content

Commit fd0095b

Browse files
committed
improve recent docstring of EmbeddedDocumentList.create
1 parent 226049f commit fd0095b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongoengine/base/datastructures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def create(self, **values):
293293
294294
.. note::
295295
the instance of the EmbeddedDocument is not automatically saved to the database.
296-
You still need to call save() on this EmbeddedDocumentList.
296+
You still need to call .save() on the parent Document.
297297
298298
:param values: A dictionary of values for the embedded document.
299299
:return: The new embedded document instance.

0 commit comments

Comments
 (0)