rework validation documentation based on review

This commit is contained in:
Bastien Gérard
2020-10-18 21:11:16 +02:00
parent c218c8bb6c
commit 3fca3739de
4 changed files with 30 additions and 64 deletions

View File

@@ -314,7 +314,8 @@ class BaseDocument:
def clean(self):
"""
Hook for doing document level data cleaning before validation is run.
Hook for doing document level data cleaning (usually validation or assignment)
before validation is run.
Any ValidationError raised by this method will not be associated with
a particular field; it will have a special-case association with the