Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 18413ed · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/signals.rst+1 added-1 removed
283 unmodified lines
284285 def close_db_connection(sender, **extra):286 session.close()287288 from flask import request_tearing_down288 from flask import appcontext_tearing_down289 appcontext_tearing_down.connect(close_db_connection, app)290291 This will also be passed an `exc` keyword argument that has a reference292 to the exception that caused the teardown if there was one.
2 unmodified lines