Week ending
January 8, 2023
Released Django 4.1.5.
Added https://code.djangoproject.com/wiki/Version5.0Roadmap.
Triaged:
https://code.djangoproject.com/ticket/34237 - FileField does
not take upload_to into account when setting unique=True
(invalid)
https://code.djangoproject.com/ticket/34236 - Django logging
when in production with Gunnicron (invalid)
https://code.djangoproject.com/ticket/34238 - Support
computed `GENERATED ALWAYS` columns (duplicate)
https://code.djangoproject.com/ticket/31300 - Add
function-based virtual fields. (accepted)
https://code.djangoproject.com/ticket/34239 - Resolve load
type-hinted objects in views (wontfix)
https://code.djangoproject.com/ticket/33386 - Autocomplete on
refresh with Firefox interacts badly with
ModelMultipleChoiceField in forms (needsinfo)
https://code.djangoproject.com/ticket/34240 -
assertRedirects() doesn't preserve headers set in
RequestFactory/Client methods. (created)
https://code.djangoproject.com/ticket/34243 - timesince()
raises TypeError with USE_TZ=True and >1 month interval.
(accepted)
https://code.djangoproject.com/ticket/34244 - Allow
overriding error params in BaseValidator (wontfix)
https://code.djangoproject.com/ticket/34241 - Django admin
not showing seconds for list_display nor readonly DateTimeField
(wontfix)
Reviewed/committed:
https://github.com/django/django/pull/16411 - Fixed #34235 --
Added ManifestFilesMixin.manifest_hash attribute.
https://github.com/django/django/pull/16415 - Fixed #33783 --
Added IsEmpty GIS database function and __isempty lookup on
PostGIS.
https://github.com/django/django/pull/16360 - Fixed #34200 --
Made the session role configurable on PostgreSQL.
https://github.com/django/django/pull/16401 - Refs #34074 --
Used headers argument for RequestFactory and Client in docs and
tests.
https://github.com/django/django/pull/16423 - Simplified
django.utils.formats.date_format()/time_format() calls.
https://github.com/django/django/pull/16425 - Fixed #34232 --
Fixed typo in docs/intro/tutorial07.txt.
https://github.com/django/django/pull/16424 - Simplified
implementation of various date formats.
https://github.com/django/django/pull/16429 - Fixed #34243 --
Fixed timesince() crash with timezone-aware dates and interval
longer than 1 month.
https://github.com/django/django/pull/15872 - Fixed #33865 --
Optimized LimitedStream wrapper.
https://github.com/django/django/pull/16433 - Fixed #34220 --
Moved csrf_input_lazy, csrf_token_lazy imports to the toplevel.
https://github.com/django/django/pull/16434 - Renamed
'requests' test package.
Authored:
https://github.com/django/django/pull/16419 - Fixed #23842 --
Fixed flaky GeoQuerySetTest.test_make_line() test.
https://github.com/django/django/pull/16430 - Refs #32355 --
Bumped mysqlclient requirement to >= 1.4.3.
https://github.com/django/django/pull/16431 - Refs #32355 --
Bumped minimum supported versions of 3rd-party packages.
Week ending
January 15, 2023
Triaged:
https://code.djangoproject.com/ticket/34245 - Change User
model in BaseUserCreationForm/UserChangeForm.Meta to
get_user_model(). (duplicate)
https://code.djangoproject.com/ticket/34237 - FileField does
not take upload_to into account when setting unique=True
(invalid)
https://code.djangoproject.com/ticket/34247 - Cannot resolve
operation dependencies (needsinfo)
https://code.djangoproject.com/ticket/34249 - Custom
RelatedManager documentation should have side tip on
prefetch_related (duplicate)
https://code.djangoproject.com/ticket/34250 - Duplicate model
names in M2M relationship causes RenameModel migration failure
(accepted)
https://code.djangoproject.com/ticket/34255 -
Annotation/group by with an expression on psycopg3 (accepted)
https://code.djangoproject.com/ticket/34256 - There is a
problem in the document (invalid)
https://code.djangoproject.com/ticket/34258 - Import Error
issues. (duplicate)
https://code.djangoproject.com/ticket/34257 -
ForeignKeyRawIdWidget doesn't include vForeignKeyRawIdAdminField
class when custom class passed in attrs (wontfix)
Reviewed/committed:
https://github.com/django/django/pull/16321 - Fixed #34176 --
Fixed grouping by ambiguous aliases.
https://github.com/django/django/pull/16437 - Refs #30240 --
Fixed argument name for MySQLSHA2Mixin.as_mysql() and
PostgreSQLSHAMixin.as_postgresql() methods.
https://github.com/django/django/pull/16262 - Fixed #34110 --
Added in-memory file storage.
https://github.com/django/django/pull/16428 - Fixed #31014 --
Added FromWKB and FromWKT GIS database functions.
https://github.com/django/django/pull/16441 - Refs #26029 --
Added LazySettings._show_deprecation_warning() hook.
https://github.com/django/django/pull/16442 - Fixed #26029 --
Allowed configuring custom file storage backends.
https://github.com/django/django/pull/15610 - Refs #26029 --
Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE
settings.
https://github.com/django/django/pull/16445 - Fixed #34234 --
Dropped support for PROJ 4.
Authored:
https://github.com/django/django/pull/16439 - Corrected used
JS libraries in GIS widget docs.
https://github.com/django/django/pull/16440 - Refs #31546,
Refs #34118 -- Corrected
CommandTests.test_requires_system_checks_specific().
https://github.com/django/django/pull/16443 - Refs #33879 --
Fixed plural value deprecation warnings.
https://github.com/django/django/pull/16444 - Fixed thread
termination in servers.tests.LiveServerPort on Python 3.10.9+,
3.11.1+, and 3.12+.
https://github.com/django/django/pull/16446 - Refs #18468 --
Used obj_description() with a catalog name on PostgreSQL.
https://github.com/django/django/pull/16447 - Fixed #34240 --
Preserved headers of requests made with django.test.Client in
assertRedirects().
https://github.com/django/django/pull/16432 - Bootstrapped
Django 5.0.
https://github.com/django/django/pull/16457 - Pre-edits for
4.1a1.
Best,
Mariusz