Merge pull request #1735 from esmail/patch-1

Update `post_save` signal documentation to reflect #594
This commit is contained in:
erdenezul 2018-02-02 15:06:17 +08:00 committed by GitHub
commit 326fcf4398
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,10 +43,10 @@ Available signals include:
has taken place but before saving. has taken place but before saving.
`post_save` `post_save`
Called within :meth:`~mongoengine.Document.save` after all actions Called within :meth:`~mongoengine.Document.save` after most actions
(validation, insert/update, cascades, clearing dirty flags) have completed (validation, insert/update, and cascades, but not clearing dirty flags) have
successfully. Passed the additional boolean keyword argument `created` to completed successfully. Passed the additional boolean keyword argument
indicate if the save was an insert or an update. `created` to indicate if the save was an insert or an update.
`pre_delete` `pre_delete`
Called within :meth:`~mongoengine.Document.delete` prior to Called within :meth:`~mongoengine.Document.delete` prior to