From 1bd8cd803e52d3f1b3902748908d20634e030547 Mon Sep 17 00:00:00 2001 From: deveil Date: Fri, 23 Apr 2021 16:08:57 +0200 Subject: [PATCH] Typo correction --- docs/guide/migration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/migration.rst b/docs/guide/migration.rst index 2b8982ec..ae4bb7c8 100644 --- a/docs/guide/migration.rst +++ b/docs/guide/migration.rst @@ -35,7 +35,7 @@ existing ``User`` model with a `default=True`. Thus you simply update the ``User class User(Document): 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 and checks its `enabled` attribute: