minor fix in doc of NULLIFY to improve #834

This commit is contained in:
Bastien Gérard 2019-12-14 21:44:59 +01:00
parent 4d6ddb070e
commit 280a73af3b

View File

@ -352,7 +352,7 @@ Its value can take any of the following constants:
Deletion is denied if there still exist references to the object being
deleted.
:const:`mongoengine.NULLIFY`
Any object's fields still referring to the object being deleted are removed
Any object's fields still referring to the object being deleted are set to None
(using MongoDB's "unset" operation), effectively nullifying the relationship.
:const:`mongoengine.CASCADE`
Any object containing fields that are referring to the object being deleted