Permalink
Browse files

Fixed a typo in the docs. This fixes #576 and #575

  • Loading branch information...
1 parent 18413ed commit 5b462dd38224648e7a3e533449784a9e236f957d @mitsuhiko mitsuhiko committed Oct 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/signals.rst
View
@@ -285,7 +285,7 @@ The following signals exist in Flask:
def close_db_connection(sender, **extra):
session.close()
- from flask import request_tearing_down
+ from flask import appcontext_tearing_down
appcontext_tearing_down.connect(close_db_connection, app)
This will also be passed an `exc` keyword argument that has a reference

0 comments on commit 5b462dd

Please sign in to comment.