diff options
| author | Julien Phalip <jphalip@gmail.com> | 2011-12-16 13:40:19 +0000 |
|---|---|---|
| committer | Julien Phalip <jphalip@gmail.com> | 2011-12-16 13:40:19 +0000 |
| commit | 34e248efeca272a2c0f2b15a5347dd66fc0340c9 (patch) | |
| tree | fd073f3b8a6132b002375ff454665bba090458fd /django/core/handlers/modpython.py | |
| parent | 5df31c0164e9477a3ebb6b1bbde8604e06fbefd4 (diff) | |
Fixed #17258 -- Moved `threading.local` from `DatabaseWrapper` to the `django.db.connections` dictionary. This allows connections to be explicitly shared between multiple threads and is particularly useful for enabling the sharing of in-memory SQLite connections. Many thanks to Anssi Kääriäinen for the excellent suggestions and feedback, and to Alex Gaynor for the reviews. Refs #2879.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/core/handlers/modpython.py')
0 files changed, 0 insertions, 0 deletions
