Fix typos found while completing the Flask tutorial

This commit is contained in:
Jesse Seldess 2018-12-14 11:59:16 -05:00 committed by David Lord
parent 15c079f500
commit 90aef1b2cf
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
2 changed files with 2 additions and 2 deletions

View file

@ -149,7 +149,7 @@ Register with the Application
-----------------------------
The ``close_db`` and ``init_db_command`` functions need to be registered
with the application instance, otherwise they won't be used by the
with the application instance; otherwise, they won't be used by the
application. However, since you're using a factory function, that
instance isn't available when writing the functions. Instead, write a
function that takes an application and does the registration.