-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Django 4.1-4.2 and Python 3.11 support (#229)
* Add Django 4.1-4.2 and Python 3.11 support (Fixes #228) * Increment version to 4.5.0 * Remove Python 2 and Django 2.2 code * Fix CI supported versions * Correct problems with tests (#234) * Fix simple error * Andrew wang/dj4.2 Improve assertNumQueries by filtering out transaction-related queries (#238) * Andrew wang/dj4.2 (#239) * Added a FilteredTransactionTestCase, updated tests. * Added more filtered tests * Removed Python <3.10 from the tox envlist for Django main. * Enhanced error message to include current database vendor of the connection for better easier troubleshooting. * Use python3.10 for GH workflows, fix postgres range issues in tests. * Check if psycopg3 is in use, if so, add psycopg3 types to CACHABLE_PARAM_TYPES. --------- Co-authored-by: Benedikt Willi <[email protected]> --------- Co-authored-by: Jack Linke <[email protected]> Co-authored-by: Jack Linke <[email protected]> Co-authored-by: Benedikt Willi <[email protected]> Co-authored-by: Benedikt Willi <[email protected]>
- Loading branch information
1 parent
de63580
commit 2697986
Showing
24 changed files
with
215 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,7 @@ coverage.xml | |
# Django stuff: | ||
*.log | ||
local_settings.py | ||
*.sqlite3 | ||
db.sqlite3 | ||
db.sqlite3-journal | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
VERSION = (2, 5, 3) | ||
VERSION = (2, 6, 0) | ||
__version__ = ".".join(map(str, VERSION)) | ||
|
||
try: | ||
from django import VERSION as DJANGO_VERSION | ||
|
||
if DJANGO_VERSION < (3, 2): | ||
default_app_config = "cachalot.apps.CachalotConfig" | ||
except ImportError: # pragma: no cover | ||
default_app_config = "cachalot.apps.CachalotConfig" | ||
default_app_config = "cachalot.apps.CachalotConfig" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.