Week ending June 6, 2021
Participated in the DjangoCon Europe conference.
Triaged:
https://code.djangoproject.com/ticket/32800 -
CsrfViewMiddleware unnecessarily masks CSRF cookie (accepted)
https://code.djangoproject.com/ticket/32804 - Add 'link'
attribute to admin display function to enable custom link
(wontfix)
https://code.djangoproject.com/ticket/32805 - makemigrations
seems to generate an unnecessary AlterField (invalid)
https://code.djangoproject.com/ticket/32806 - Send email with
a content_type=text/* attachment (invalid)
https://code.djangoproject.com/ticket/32807 -
JSONField.bound_data raises TypeError when data is None (accepted)
https://code.djangoproject.com/ticket/32205 - sqlmigrate
crashes after removing squashed migrations. (invalid)
https://code.djangoproject.com/ticket/32808 -
DiscoverRunner.build_suite() does not restore
self.test_loader.testNamePatterns (accepted)
https://code.djangoproject.com/ticket/32802 - Ability to
generate GenericForeignKey from class properties (wontfix)
https://code.djangoproject.com/ticket/32803 - Not obvious
interaction between Postgresql trgm index and icontains lookup
(duplicate)
https://code.djangoproject.com/ticket/32809 - Filtering with Q
and OR gets duplicated entries (needsinfo)
https://code.djangoproject.com/ticket/32811 - Annotate removes
Meta.ordering (invalid)
https://code.djangoproject.com/ticket/32810 -
django.utils.formats.number_format calculates a value for use_l10n
which isn't re-used for calls to get_format (accepted)
https://code.djangoproject.com/ticket/32815 - Failed to reset
ContextVars in sync/async middlewares (invalid)
https://code.djangoproject.com/ticket/32814 - Improve
performance of TextNode rendering by providing a special-case of
render_annotated (accepted)
https://code.djangoproject.com/ticket/32816 - QuerysetEqual
Test error on the polls app. (invalid)
https://code.djangoproject.com/ticket/32818 - Add
pyproject.toml config for black formatter (invalid)
Reviewed/committed:
https://github.com/django/django/pull/14460 - Refs #24121 --
Added __repr__() to Engine.
https://github.com/django/django/pull/14471 - Fixed #32796 --
Changed CsrfViewMiddleware to fail earlier on badly formatted
cookie tokens.
https://github.com/django/django/pull/14150 - Refs #32552 --
Added DiscoverRunner.log() to allow customization.
https://github.com/django/django/pull/14474 - Fixed #28154 --
Prevented infinite loop in FileSystemStorage.save() when a broken
symlink with the same name exists.
https://github.com/django/django/pull/14476 - Refs #32641 --
Made DiscoverRunner's "Found X tests" message work for finding one
test.
https://github.com/django/django/pull/14477 - Refs #32668 --
Refactored runtests.py's setup() and get_test_modules().
https://github.com/django/django/pull/14483 - Fixed #32812 --
Restored immutability of named values from QuerySet.values_list().
https://github.com/django/django/pull/14391 - Refs #32338 --
Improved accessibility of RadioSelect examples in docs.
https://github.com/django/django/pull/14427 - Made
SerializeMixin check lockfile attr at import time.
https://github.com/django/django/pull/14492 - Fixed #32810 --
Optimized django.utils.formats.number_format() a bit.
https://github.com/django/django/pull/14491 - Refs #32668 --
Simplified start_at/start_after logic in runtests.py's setup().
Authored:
https://github.com/django/django/pull/14478 - Fixed #32808 --
Prevented DiscoverRunner.build_suite() from mutating test loader
patterns.
https://github.com/django/django/pull/14482 - Refs #31356 --
Changed IRC links to the Libera.Chat webchat.
https://github.com/django/django/pull/14486 - Refs #32355 --
Used addClassCleanup() in tests.
Best,
Mariusz