| Age | Commit message (Collapse) | Author |
|
Made DatabaseWrapper thread sharing logic reentrant. Used a reference
counting like scheme to allow nested uses.
The error appeared after 8c775391b78b2a4a2b57c5e89ed4888f36aada4b.
Backport of 76990cbbda5d93fda560c8a5ab019860f7efaab7 from master.
|
|
Regression in 24959e48d949a20be969f649ece3576dbc7ce422.
Backport of d15c61cabbe1c15068ffeb58c64035057f0c7d5c from master.
|
|
disallowing queries.
Database features may require a connection to be established to determine
whether or not they are enabled.
|
|
tests.
Mocking connect as well as cursor methods makes sure an appropriate error
message is surfaced when running a subset of test attempting to access a
a disallowed database.
|
|
favor of databases.
|
|
TransactionTestCase when using --keepdb."
This reverts commits b3b1d3d45fc066367f4fcacf0b06f72fcd00a9c6 and
9fa0d3786febf36c87ef059a39115aa1ce3326e8 due to reverse build failures
for which a solution isn't forthcoming.
|
|
using --keepdb.
Data loaded in migrations were restored at the beginning of each
TransactionTestCase and all the tables are truncated at the end of
these test cases. If there was a TransactionTestCase at the end of
the test suite, the migrated data weren't restored in the database
(especially unexpected when using --keepdb). Now data is restored
at the end of each TransactionTestCase.
|
|
|
|
|
|
|
|
their query strings.
|
|
|
|
instead of "(actual errors: )".
|
|
|
|
|
|
|
|
|
|
|
|
JSONDecodeError.
|
|
|
|
|
|
so it's less likely to overflow.
TransactionTestCase.assertNumQueries() fails in an overflow situation.
|
|
|
|
Forwardport of 877d7b71ae952b3bc946e5187d6c23039a71614d from stable/1.11.x
|
|
Thanks Tim Graham for the test part.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks Tim Graham for the review.
|
|
Thanks Tim Graham and Simon Charette for the reviews.
|
|
Thanks Tim Graham for the review.
|
|
|
|
Per deprecation timeline.
|
|
Per deprecation timeline.
|
|
Thanks to Josh Smeaton for the idea of implementing server-side cursors
in PostgreSQL from the iterator method, and Anssi Kääriäinen and Kevin
Turner for their previous work. Also Simon Charette and Tim Graham for
review.
|
|
|
|
inheritance.
|
|
|
|
|
|
subclassing.
|
|
|
|
|
|
Also used ALLOWED_HOSTS to check for external hosts in assertRedirects().
|
|
|
|
|
|
|
|
|