Typo correction
This commit is contained in:
parent
9680259904
commit
1bd8cd803e
@ -35,7 +35,7 @@ existing ``User`` model with a `default=True`. Thus you simply update the ``User
|
|||||||
|
|
||||||
class User(Document):
|
class User(Document):
|
||||||
name = StringField(required=True)
|
name = StringField(required=True)
|
||||||
enabled = BooleaField(default=True)
|
enabled = BooleanField(default=True)
|
||||||
|
|
||||||
Without applying any migration, we now reload an object from the database into the ``User`` class
|
Without applying any migration, we now reload an object from the database into the ``User`` class
|
||||||
and checks its `enabled` attribute:
|
and checks its `enabled` attribute:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user