[Django]-In Django, how to create a DB connection for every thread

3👍

Sharing the answer if you don’t get to see the details:
Django 1.4 started creating a new database connection for each thread. Since I am using Django 1.3.1 I don’t get that behavior and hence the problem when multiple threads try to use the same DB connection.

Leave a comment