Skip to content

Commit

Permalink
Merge pull request #2709 from 841020/patch-1
Browse files Browse the repository at this point in the history
update docs/guide/validation.rst example
  • Loading branch information
bagerard authored Dec 27, 2022
2 parents d3daf6d + a39a24a commit 8d23ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ out of the box. Validation runs when calling `.validate()` or `.save()`

.. code-block:: python
from mongoengine import Document, EmailField
from mongoengine import Document, EmailField, IntField
class User(Document):
email = EmailField()
Expand Down

0 comments on commit 8d23ed9

Please sign in to comment.