Skip to content

Commit

Permalink
Typo in extension development docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin authored and mitsuhiko committed Jun 5, 2010
1 parent 88a031a commit e3de5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/extensiondev.rst
Expand Up @@ -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?
Expand Down

0 comments on commit e3de5e6

Please sign in to comment.