Week ending October 9, 2022
Triaged:
https://code.djangoproject.com/ticket/34070 - Add support for
microseconds to Now() on MySQL and SQLite. (created)
https://code.djangoproject.com/ticket/34071 - Unclear
validator messages for Range(Min/Max)ValueValidator compared to
docs. (accepted)
https://code.djangoproject.com/ticket/34072 - django += 1
increments by 2 instead of 1 (invalid)
https://code.djangoproject.com/ticket/34073 - Refactor
session middleware to allow easier overrides (accepted)
https://code.djangoproject.com/ticket/32816 - QuerysetEqual
Test error on the polls app. (invalid)
https://code.djangoproject.com/ticket/34074 - 'headers'
argument for test RequestFactory/Client (accepted)
Reviewed/committed:
https://github.com/django/django/pull/16143 - Fixed #23353 --
Used "raise from" when raising TransactionManagementError.
https://github.com/django/django/pull/16111 - Fixed #34070 --
Added subsecond support to Now() on SQLite and MySQL.
https://github.com/django/django/pull/16070 - Fixed #34012 --
Made QuerySet.order_by() apply transforms on related fields for
models with Meta.ordering.
https://github.com/django/django/pull/16145 - Fixed #34068 --
Corrected output of runserver command for "0" IP address.
https://github.com/django/django/pull/16146 - Fixed #34071 --
Improved error message for Range(Min/Max)ValueValidator.
https://github.com/django/django/pull/16150 - Fixed #33768 --
Fixed ordering compound queries by nulls_first/nulls_last on
MySQL.
https://github.com/django/django/pull/16151 - Refs #33308 --
Enabled explicit GROUP BY and ORDER BY aliases.
https://github.com/django/django/pull/15831 - Refs #33308 --
Adjustments to grouping and compound ordering logic to support
psycopg3.
https://github.com/django/django/pull/16100 - Fixed #32603 --
Made ModelAdmin.list_editable use transactions.
https://github.com/django/django/pull/16095 - Fixed #33797 --
Prioritized cached database backend for cached sessions in docs.
https://github.com/django/django/pull/16158 - Refs #33990 --
Renamed SimpleTestCase.assertFormsetError() to
assertFormSetError().
https://github.com/django/django/pull/16110 - Refs #33990 --
Renamed TransactionTestCase.assertQuerysetEqual() to
assertQuerySetEqual().
Authored:
https://github.com/django/django/pull/16144 - Refs #32987 --
Relaxed system check for template tag modules with the same name
by turning into a warning.
https://github.com/django/django/pull/16153 - Removed
hardcoded pks in TestQuerying.test_group_by_order_by_aliases
test.
https://github.com/django/django/pull/16154 - Bumped versions
in pre-commit and npm configurations.
https://github.com/django/django/pull/16157 - Replaced
assertQuerysetEqual() to
assertSequenceEqual()/assertCountEqual() where appropriate.
Best,
Mariusz