From 39518ba9cebe703656eff44980880ea3cc118de3 Mon Sep 17 00:00:00 2001 From: Jake Wang Date: Mon, 10 Oct 2022 03:23:19 -0400 Subject: [PATCH] misleading sample correction --- docs/tutorial/database.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/tutorial/database.rst b/docs/tutorial/database.rst index 934f6008..2a7e87c7 100644 --- a/docs/tutorial/database.rst +++ b/docs/tutorial/database.rst @@ -176,6 +176,7 @@ the end of the factory function before returning the app. app = ... # existing code omitted + # do not copy create_app function again, only add following from . import db db.init_app(app)