Browse Source

fix typo

when -> how
pull/2509/head
Faheel Ahmad 7 years ago committed by GitHub
parent
commit
c40bde5638
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/tutorial/dbcon.rst

2
docs/tutorial/dbcon.rst

@ -25,7 +25,7 @@ will cover some more details of this later on.
For the time being, all you have to know is that you can store information For the time being, all you have to know is that you can store information
safely on the :data:`~flask.g` object. safely on the :data:`~flask.g` object.
So when do you put it on there? To do that you can make a helper So how do you put it on there? To do that you can make a helper
function. The first time the function is called, it will create a database function. The first time the function is called, it will create a database
connection for the current context, and successive calls will return the connection for the current context, and successive calls will return the
already established connection:: already established connection::

Loading…
Cancel
Save