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 c2e5799 commit 7ee40e9Copy full SHA for 7ee40e9
docs/tutorial/dbinit.rst
@@ -32,7 +32,7 @@ add the following lines to your existing imports in `flaskr.py`::
32
Next we can create a function called `init_db` that initializes the
33
database. For this we can use the `connect_db` function we defined
34
earlier. Just add that function below the `connect_db` function in
35
-`flask.py`::
+`flaskr.py`::
36
37
def init_db():
38
with closing(connect_db()) as db:
0 commit comments