Week ending
September 11, 2022
Released Django 4.1.1.
Triaged:
https://code.djangoproject.com/ticket/33980 - "Save and add
another" redirects to the list instead of empty form (duplicate)
https://code.djangoproject.com/ticket/33982 - TypeError
creating DB table SQL with ExclusionConstraint as Statement
returned instead of str (accepted)
https://code.djangoproject.com/ticket/33984 - Related
managers cache gets stale after saving a fetched model with new
PK (accepted)
https://code.djangoproject.com/ticket/33986 - Code formatters
should be looked up before template rendering in
startapp/startproject (accepted)
https://code.djangoproject.com/ticket/33987 - values() and
db_column aliases do not play nicely together (invalid)
https://code.djangoproject.com/ticket/33988 -
URLValidator()('http:////test.com/') raise TypeError (duplicate)
https://code.djangoproject.com/ticket/33989 -
filter_horizontal/filter_vertical giving "This field is
required" error even when objects are selected. (duplicate)
https://code.djangoproject.com/ticket/29345 - Migrations that
recreate constraints can fail on PostgreSQL if table is not in
public schema (duplicate)
https://code.djangoproject.com/ticket/33992 -
QuerySet.annotate() with subquery and aggregation crashes.
(accepted)
https://code.djangoproject.com/ticket/33996 - Inconsistent
behavior of CheckConstraints validation on None values.
(accepted)
https://code.djangoproject.com/ticket/33995 - Rendering
empty_form crashes when empty_permitted is passed to form_kwargs
(accepted)
https://code.djangoproject.com/ticket/33997 - Possible to
change default select statemant for objects.all() (needsinfo)
https://code.djangoproject.com/ticket/33999 - Efficient
filter with join on soft link. (wontfix)
https://code.djangoproject.com/ticket/33998 - Use alternates
and i18n generate duplicated URLs in the sitemap (needsinfo)
https://code.djangoproject.com/ticket/34001 -
ForeignKey.formfield(): allow override for all kwargs
(needsinfo)
https://code.djangoproject.com/ticket/34003 -
PasswordResetView, PasswordResetDoneView,
PasswordResetConfirmView & PasswordResetCompleteView not
discovering custom template (invalid)
https://code.djangoproject.com/ticket/34002 -
PasswordResetView should work with AbstractBaseUser subclasses
without is_active field. (wontfix)
https://code.djangoproject.com/ticket/34004 - DateTimeField
for Forms does not always respect input_formats (invalid)
Reviewed/committed:
https://github.com/django/django/pull/16028 - Fixed #33937 --
Optimized serialization of related m2m fields without natural
keys.
https://github.com/django/django/pull/15766 - Fixed #33616 --
Allowed registering callbacks that can fail in
transaction.on_commit().
https://github.com/django/django/pull/16034 - Refs #33616 --
Updated BaseDatabaseWrapper.run_on_commit comment.
https://github.com/django/django/pull/16035 - Fixed #33982 --
Fixed migrations crash when adding model with
ExclusionConstraint.
https://github.com/django/django/pull/16037 - Fixed #33992 --
Fixed queryset crash when aggregating over a group containing
Exists.
https://github.com/django/django/pull/15974 - Used CSS flex
and <nav> for ModelAdmin.date_hierarchy.
https://github.com/django/django/pull/16032 - Fixed #33975 --
Fixed __in lookup when rhs is a queryset with annotate() and
alias().
https://github.com/django/django/pull/16041 - Fixed #33995 --
Fixed FormSet.empty_form crash when empty_permitted is passed to
form_kwargs.
Authored:
https://github.com/django/django/pull/16036 - Refs #24179 --
Fixed selenium tests for offset of admin selector boxes in
fieldset.