Minor edits to tutorial for clarity. (#2330)

This commit is contained in:
Dave Morse 2017-05-24 17:00:20 -07:00 committed by David Lord
parent 471c7f3220
commit 50c6df7098
8 changed files with 103 additions and 85 deletions

View file

@ -3,6 +3,9 @@
Step 4: Database Connections
----------------------------
Let's continue building our code in the ``flaskr.py`` file.
(Scroll to the end of the page for more about project layout.)
You currently have a function for establishing a database connection with
`connect_db`, but by itself, it is not particularly useful. Creating and
closing database connections all the time is very inefficient, so you will