News for hackers. Stuff that matters.
Re:Fixing Database Connections in Django by bjourne on Friday March 08, 2013 @07:02PM (#5346579)
This old thread about it is interesting: https://groups.google.com/forum/?fromgroups=#!topic/django-u...

I really hope Django gets support for persistent connections and/or connection pooling. pgbouncer isn't always an option on shared hosting (and is a royal PITA to setup on Windows) and there are other databases than postgres.

Re:Fixing Database Connections in Django by jaytaylor on Friday March 08, 2013 @07:09PM (#5346609)
Here @ SendHub we've been using django-db-pool[0] since Q3 of 2012 in production and it's been pretty smooth sailing.

NB: I highly recommend verifying via postgres logs that the module is doing what you expect, because it may not be immediately clear whether the driver has bee activated or not.

[0] https://github.com/gmcguire/django-db-pool

Re:Fixing Database Connections in Django by craigkerstiens on Friday March 08, 2013 @07:14PM (#5346637)
As per the bottom of the post persistent connections have already been committed for Django 1.6 - https://github.com/django/django/commit/2ee21d