Changes between Version 1 and Version 2 of Ticket #37064, comment 1
- Timestamp:
- Apr 24, 2026, 4:15:06 PM (3 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37064, comment 1
v1 v2 3 3 Given this can only be reproduced with `pytest-django` though I do wonder if the issue doesn't lie over there instead. What does `pytest-django` do that causes SQLite to recycle the connection between `setUpClass` and `tearDownClass` that Django doesn't do? 4 4 5 The fact `pytest-django` swaps `connections` entries makes me worried that they have flawed logic on their that defeats the purpose of the database query prevention mechanisms that Django puts in place.5 The fact `pytest-django` swaps `connections` entries makes me worried that they have flawed logic on their side that defeats the purpose of the database query prevention mechanisms that Django puts in place. 6 6 7 7 Nothing seems to indicate that Django is at fault here.