Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Change log
Pending
-------

* Fixed the Django version check in the SQL panel test suite for Django's
boolean parameter handling.

7.0.0 (2026-06-17)
------------------

Expand Down
4 changes: 2 additions & 2 deletions tests/panels/test_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,11 +403,11 @@ def test_param_conversion(self):
connection.vendor == "mysql"
and django.VERSION >= (4, 1)
or connection.vendor != "postgresql"
and django.VERSION >= (6, 2)
and django.VERSION >= (6, 1)
):
# Django 4.1 started passing true/false back for boolean
# comparisons in MySQL.
# Django 6.2 started passing true/false for all-non
# Django 6.1 started passing true/false for all-non
# postgres databases.
expected_bools = ["Foo", True, False]
else:
Expand Down
Loading