We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9680259 commit 1bd8cd8Copy full SHA for 1bd8cd8
docs/guide/migration.rst
@@ -35,7 +35,7 @@ existing ``User`` model with a `default=True`. Thus you simply update the ``User
35
36
class User(Document):
37
name = StringField(required=True)
38
- enabled = BooleaField(default=True)
+ enabled = BooleanField(default=True)
39
40
Without applying any migration, we now reload an object from the database into the ``User`` class
41
and checks its `enabled` attribute:
0 commit comments