Skip to content

Commit 1bd8cd8

Browse files
authored
Typo correction
1 parent 9680259 commit 1bd8cd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/migration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ existing ``User`` model with a `default=True`. Thus you simply update the ``User
3535
3636
class User(Document):
3737
name = StringField(required=True)
38-
enabled = BooleaField(default=True)
38+
enabled = BooleanField(default=True)
3939
4040
Without applying any migration, we now reload an object from the database into the ``User`` class
4141
and checks its `enabled` attribute:

0 commit comments

Comments
 (0)