Browse Source

Merge pull request #613 from untitaker/issue611

Fix #611
pull/617/head
Armin Ronacher 12 years ago
parent
commit
5583fe8acf
  1. 2
      docs/tutorial/dbinit.rst

2
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:

Loading…
Cancel
Save