Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

magic-removal: Fixed an strange bug with postgres connections not bei…

…ng closed.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit cc6ab74c36fed067c0b28bd81c9db3e0979d2383 1 parent df26d4b
@spookylukey spookylukey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/
2  django/db/
@@ -28,7 +28,7 @@
# Register an event that closes the database connection
# when a Django request is finished.
-dispatcher.connect(lambda: connection.close(), signal=signals.request_finished)
+dispatcher.connect(connection.close, signal=signals.request_finished)
# Register an event that resets connection.queries
# when a Django request is started.

0 comments on commit cc6ab74

Please sign in to comment.
Something went wrong with that request. Please try again.