oh boy...  Good luck.

you can use connection.cursor() as a context manager, which will clean up 
connections after it exits.  You could grep the project for 
connection.cursor and add the context manager.


how did none of the devs know to clean up after themselves, either with a 
context manager or try-finally?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/0b436954-3e31-4dd7-b1ae-2bf75d72f472%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to