1. mirror
  2. flask

Commits

Armin Ronacher  committed 5583fe8 Merge

Merge pull request #613 from untitaker/issue611

Fix #611

  • Participants
  • Parent commits f06c80a, 7ee40e9
  • Branches master

Comments (0)

Files changed (1)

File docs/tutorial/dbinit.rst

View file
 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: