Document the ValidationError class
This commit is contained in:
parent
65591c7727
commit
83eb4f6b16
4 changed files with 21 additions and 3 deletions
|
|
@ -91,5 +91,5 @@ is an alias to :attr:`id`::
|
|||
.. note::
|
||||
|
||||
If you define your own primary key field, the field implicitly becomes
|
||||
required, so a :class:`ValidationError` will be thrown if you don't provide
|
||||
it.
|
||||
required, so a :class:`~mongoengine.ValidationError` will be thrown if
|
||||
you don't provide it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue