Browse Source

Added a missing colon

pull/300/head
Armin Ronacher 14 years ago
parent
commit
5ca17c86c0
  1. 2
      docs/patterns/sqlite3.rst

2
docs/patterns/sqlite3.rst

@ -34,7 +34,7 @@ executed the before-request handlers for you. If you are attempting to
use the database from a script or the interactive Python shell you would use the database from a script or the interactive Python shell you would
have to do something like this:: have to do something like this::
with app.test_request_context() with app.test_request_context():
app.preprocess_request() app.preprocess_request()
# now you can use the g.db object # now you can use the g.db object

Loading…
Cancel
Save