Browse Source

Typo in extension development docs.

pull/124/head
Simon Sapin 15 years ago committed by Armin Ronacher
parent
commit
e3de5e6ca3
  1. 2
      docs/extensiondev.rst

2
docs/extensiondev.rst

@ -222,7 +222,7 @@ Either way you can use the database from the views like this::
@app.route('/')
def show_all():
cur = g.sqlite_db.cursor()
cur = g.sqlite3_db.cursor()
cur.execute(...)
But how would you open a database connection from outside a view function?
Loading…
Cancel
Save