#31240: FileResponse with temporary file closing connection on PostgreSQL. -------------------------------+-------------------------------------- Reporter: Oskar Persson | Owner: nobody Type: Bug | Status: closed Component: HTTP handling | Version: 3.0 Severity: Normal | Resolution: invalid Keywords: | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+--------------------------------------
Comment (by Carlton Gibson): {{{ def setUp(self): request_started.disconnect(close_old_connections) def tearDown(self): request_started.connect(close_old_connections) }}} -- Ticket URL: <https://code.djangoproject.com/ticket/31240#comment:7> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/070.b00b6d9c39bec4821035619dcdf059fa%40djangoproject.com.