Permalink
Browse files

Merge pull request #613 from untitaker/issue611

Fix #611
  • Loading branch information...
2 parents f06c80a + 7ee40e9 commit 5583fe8acfd763f7f0b74cce00ef5f5f658caaa0 @mitsuhiko mitsuhiko committed Oct 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/tutorial/dbinit.rst
@@ -32,7 +32,7 @@ add the following lines to your existing imports in `flaskr.py`::
Next we can create a function called `init_db` that initializes the
database. For this we can use the `connect_db` function we defined
earlier. Just add that function below the `connect_db` function in
-`flask.py`::
+`flaskr.py`::
def init_db():
with closing(connect_db()) as db:

0 comments on commit 5583fe8

Please sign in to comment.