Browse Source

Update for python3 (#1973)

just updated print 'Initialized the database.' with print('Initialized the database.') to be python3 compliant
pull/1885/merge
SaturnR 9 years ago committed by Markus Unterwaditzer
parent
commit
55bd39c7f0
  1. 2
      docs/tutorial/dbinit.rst

2
docs/tutorial/dbinit.rst

@ -35,7 +35,7 @@ just below the `connect_db` function in :file:`flaskr.py`::
def initdb_command():
"""Initializes the database."""
init_db()
print 'Initialized the database.'
print('Initialized the database.')
The ``app.cli.command()`` decorator registers a new command with the
:command:`flask` script. When the command executes, Flask will automatically

Loading…
Cancel
Save