Skip to content

Commit 8d23ed9

Browse files
authored
Merge pull request #2709 from 841020/patch-1
update docs/guide/validation.rst example
2 parents d3daf6d + a39a24a commit 8d23ed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ out of the box. Validation runs when calling `.validate()` or `.save()`
1919

2020
.. code-block:: python
2121
22-
from mongoengine import Document, EmailField
22+
from mongoengine import Document, EmailField, IntField
2323
2424
class User(Document):
2525
email = EmailField()

0 commit comments

Comments
 (0)