add standard hooks

This commit is contained in:
Bastien Gerard
2021-03-29 22:02:57 +02:00
parent e5a2714baf
commit b9d370c885
26 changed files with 39 additions and 34 deletions

View File

@@ -120,4 +120,3 @@ the validation and cleaning of a document when you call :meth:`~mongoengine.docu
Person(age=1000).save(validate=False)
person = Person.objects.first()
assert person.age == 1000