Skip to content

Commit e228b5f

Browse files
authored
Merge branch 'main' into dependabot/github_actions/github-actions-a9b87ecf1f
2 parents e2d7f5e + 4abb4d2 commit e228b5f

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

docs/changes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Change log
44
Pending
55
-------
66

7+
* Fixed the Django version check in the SQL panel test suite for Django's
8+
boolean parameter handling.
9+
710
7.0.0 (2026-06-17)
811
------------------
912

tests/panels/test_sql.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,11 +403,11 @@ def test_param_conversion(self):
403403
connection.vendor == "mysql"
404404
and django.VERSION >= (4, 1)
405405
or connection.vendor != "postgresql"
406-
and django.VERSION >= (6, 2)
406+
and django.VERSION >= (6, 1)
407407
):
408408
# Django 4.1 started passing true/false back for boolean
409409
# comparisons in MySQL.
410-
# Django 6.2 started passing true/false for all-non
410+
# Django 6.1 started passing true/false for all-non
411411
# postgres databases.
412412
expected_bools = ["Foo", True, False]
413413
else:

0 commit comments

Comments
 (0)