Closed ankiaga closed 4 months ago
thanks a lot for working on it, left a few comments. I'm hoping that we can also have a way to bypass the version check and fall into Django 4 logic with Django 5 at our own risk. Another suggestion is to add a summary in the PR description so new developers can understand the actual difference between django 3 vs 4 without digging into the code.
Breaking changes
AutoCommit=True
mode, the Spanner Django provider would not start a transaction.AutoCommit=True
mode, the Spanner Django provider will start a transaction.Release notes
AutoCommit=True
mode by default for V4.2. Transactions inAutoCommit=True
mode are by default not supported in prior versions (i.e. V3.2).AutoCommit=True
mode in V3.2, please setALLOW_TRANSACTIONS_IN_AUTO_COMMIT=True
your settings.py file.AutoCommit=True
mode in V4.2, please setALLOW_TRANSACTIONS_IN_AUTO_COMMIT=False
in your settings.py file.