Skip to content

Commit a39a24a

Browse files
authored
fix eaxmple
1 parent c8ef07a commit a39a24a

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)