Week ending July 11, 2021
Triaged:
https://code.djangoproject.com/ticket/32661 - An exception
should be raised when trying to save datetime/time object and the
UTC offset isn't known. (invalid)
https://code.djangoproject.com/ticket/32899 - enhance
JSONResponse safe=True kwarg docs (accepted)
https://code.djangoproject.com/ticket/32901 -
BaseForm.__getitem__() does unneeded work in the happy path
(accepted)
https://code.djangoproject.com/ticket/32902 -
CsrfViewMiddleware.process_response()'s csrf_cookie_needs_reset
and csrf_cookie_set logic isn't right (accepted)
https://code.djangoproject.com/ticket/32898 - get_or_create()
with filter() has surprising behaviour (wontfix)
https://code.djangoproject.com/ticket/32903 - admin page in
Google-Chrome does not show the columns like in Firefox or Chrome
(invalid)
https://code.djangoproject.com/ticket/32905 - Add `nonform`
CSS class for non form errors in FormSets (accepted)
https://code.djangoproject.com/ticket/32904 - Tighten up the
regular expression used by parse_time to accept less 'invalid'
options. (accepted)
https://code.djangoproject.com/ticket/32907 - Allow duplicate
headers while sending email (invalid)
https://code.djangoproject.com/ticket/32909 - strftime got
None on sqlite (invalid)
https://code.djangoproject.com/ticket/32911 -
django.forms.BaseFormSet.is_valid does not respect
TOTAL_FORM_COUNT (needsinfo)
https://code.djangoproject.com/ticket/32912 - Using
label_from_instance on ModelChoiceField requires resetting
queryset first (duplicate)
https://code.djangoproject.com/ticket/32906 - Explain JSONBAgg
benefit (accepted)
https://code.djangoproject.com/ticket/24243 - Allow
HashedFilesMixin to handle file name fragments (wontfix)
https://code.djangoproject.com/ticket/24475 - Add a new
testconnections management command (wontfix)
https://code.djangoproject.com/ticket/32914 - DiscoverRunner
doesn't always group tests by class (accepted)
https://code.djangoproject.com/ticket/32915 - ./manage
runserver --nostatic still doesn't return a traceback (accepted)
Reviewed/committed:
https://github.com/django/django/pull/14591 - Refs #24121 --
Added __repr__() to AdminSite, DefaultAdminSite, and ModelAdmin.
https://github.com/django/django/pull/14574 - Fixed #32226 --
Fixed JSON format of QuerySet.explain() on PostgreSQL.
https://github.com/django/django/pull/14586 - Refs #32508 --
Raised ImproperlyConfigured/TypeError instead of using "assert".
https://github.com/django/django/pull/14596 - Fixed #32901 --
Optimized BaseForm.__getitem__().
https://github.com/django/django/pull/14575 - Fixed #32776 --
Added support for Array subqueries on PostgreSQL.
https://github.com/django/django/pull/14582 - Fixed #32892 --
Optimized django.utils.dateparse functions by using
fromisoformat().
https://github.com/django/django/pull/14600 - Added test for
errors when saving timezone-aware times if not supported.
https://github.com/django/django/pull/14539 - Fixed #32866 --
Fixed trimming trailing punctuation from escaped string in
urlize().
https://github.com/django/django/pull/14602 - Fixed #32904 --
Made parse_time() more strict.
https://github.com/django/django/pull/14585 - Fixed #32840 --
Optimized Field.get_col().
https://github.com/django/django/pull/14137 - Fixed #24522 --
Added a --shuffle option to DiscoverRunner.
https://github.com/django/django/pull/14494 - Fixed #27021 --
Allowed lookup expressions in annotations, aggregations, and
QuerySet.filter().
Authored:
https://github.com/django/django/pull/14592 - Fixed isolation
of test_filename_traversal_upload().
https://github.com/django/django/pull/14595 - Fixed isolation
of RouterTestCase.test_m2m_cross_database_protection().
https://github.com/django/django/pull/14603 - Fixed #32908 --
Allowed select_for_update(skip_locked) on MariaDB 10.6+.
https://github.com/django/django/pull/14605 - Fixed inspectdb
and schema tests on MariaDB 10.6+.
https://github.com/django/django/pull/14610 - Fixed isolation
of GenericRelationTests.test_filter_targets_related_pk().
https://github.com/django/django/pull/14616 - Fixed isolation
of NonAutocommitTests.test_orm_query_after_error_and_rollback().
Best,
Mariusz