diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-03-22 02:20:33 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-03-22 02:20:33 +0000 |
| commit | 29aa31d8f5dd10ed30e539bebc17735e3b4ae89c (patch) | |
| tree | 37928365340c9285050a3082fb30bc8d27754fb2 /tests/modeltests/test_client/models.py | |
| parent | 3f3f51d942cc8f3b4fd7c7aab8bf4cbc9747b713 (diff) | |
Reduced the chances of session object collision. The window of opportunity is
now about five Python instructions in get_or_create(). This doesn't guarantee
no collisions, but should fix many occurrences. Refs #1180.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/modeltests/test_client/models.py')
0 files changed, 0 insertions, 0 deletions
