Week ending January 7
Released Django 4.2.9 and 5.0.1.
Triaged:
https://code.djangoproject.com/ticket/35073 - models.SET's
callable is called when there are no objects to update. (accepted)
https://code.djangoproject.com/ticket/35077 - Quering with int
that has bigint in database no longer working. (invalid)
https://code.djangoproject.com/ticket/35078 - Incorrect order
of migration operations when a new FK is added and is part of
constraints as well (duplicate)
https://code.djangoproject.com/ticket/35079 - Meta
indexes/constraints with OpClass on expressions crash. (duplicate)
https://code.djangoproject.com/ticket/35080 - Reconsideration
of HTTP Method Integration in Django for Enhanced HTMX
Compatibility and similar frontend expe (wontfix)
https://code.djangoproject.com/ticket/35081 - Bug when
customized login issue (invalid)
https://code.djangoproject.com/ticket/35082 -
AsyncRequestFactory doesn't pass REMOTE_ADDR when set (invalid)
https://code.djangoproject.com/ticket/35084 - Recommend
reusable app module names use a `django_` prefix (accepted)
https://code.djangoproject.com/ticket/35086 - Add
BoundedCircle support with SpatiaLite 5.1+ (accepted)
https://code.djangoproject.com/ticket/35087 -
DisallowedModelAdminLookup raised when filtering on a ForeignKey
not listed in list_filters (accepted)
https://code.djangoproject.com/ticket/35092 - Expose
additional data in responses from geoip2 queries. (accepted)
https://code.djangoproject.com/ticket/35091 - Allow use of
ipaddress standard library module with django.contrib.gis.geoip2
(accepted)
Reviewed/committed:
https://github.com/django/django/pull/17665 - Updated
feature flags for Oracle 23c.
https://github.com/django/django/pull/17663 - Fixed #35072 --
Corrected Field.choices description in models topic.
https://github.com/django/django/pull/15705 - Improved
variable names in QuerySet.delete().
https://github.com/django/django/pull/17667 - Fixed #35060 --
Deprecated passing positional arguments to Model.save()/asave().
https://github.com/django/django/pull/17666 - Fixed #35075 --
Added deduplicate_items parameter to BTreeIndex.
https://github.com/django/djangoproject.com/pull/1452 - Fixed
#1453 -- Fixed code block indentantion on the Getting started
page.
https://github.com/django/django/pull/17639 - Fixed #33277 --
Disallowed database connections in threads in SimpleTestCase.
https://github.com/django/django/pull/17676 - Refs #33690 --
Updated tutorial for admin dark mode toggle.
https://github.com/django/django/pull/17678 - Refs #34140 --
Fixed blacken-docs pre-commit configuration.
https://github.com/django/django/pull/17677 - Fixed #35084 --
Recommended 'django_' prefix for reusable app modules.
https://github.com/django/django/pull/17693 - Removed obsolete
rpm-related install code.
https://github.com/django/django/pull/17692 - Moved isort
config from setup.cfg to pyproject.toml.
https://github.com/django/django/pull/17691 - Fixed #35086 --
Added support for BoundedCircle on Spatialite 5.1+.
https://github.com/django/django/pull/17701 - Fixed #35088 --
Added support for Collect on MySQL 8.0.24+.
https://github.com/django/django/pull/17705 - Fixed #35091 --
Allowed GeoIP2 querying using IPv4Address/IPv6Address.
Authored:
https://github.com/django/djangoproject.com/pull/1458 -
Removed usage of Python's deprecated distutils.version package.
https://github.com/django/django/pull/17673 - Used
enterClassContext() where appropriate.
https://github.com/django/djangoproject.com/pull/1460 - Fixed
#1459 -- Fixed get_all_doc_versions template tag.
https://github.com/django/django/pull/17695 - Bumped versions
in pre-commit and npm configurations.
Week ending January 14
Created https://code.djangoproject.com/wiki/SummerOfCode2024.
Triaged:
https://code.djangoproject.com/ticket/35090 - Enforce
uniqueness on custom path converters. (accepted)
https://code.djangoproject.com/ticket/34852 - Django Unit
Tests break when using replicated MySQL Cluster v8.0.28 (invalid)
https://code.djangoproject.com/ticket/35094 - Add pure Python
dbshell fallback (wontfix)
https://code.djangoproject.com/ticket/35095 - Monetary values
in Switzerland discrepancy (accepted)
https://code.djangoproject.com/ticket/35097 - Undocumented
behaviour change of utils.dateparse.parse_datetime (invalid)
https://code.djangoproject.com/ticket/35096 - Error messages
in admin forms with class "wide" misaligned (accepted)
https://code.djangoproject.com/ticket/15611 - Readonly fields
not hidden during create (fixed)
https://code.djangoproject.com/ticket/35098 - ValidationError
is being converted into a 500 Internal Server Error response
(invalid)
https://code.djangoproject.com/ticket/35099 - Combining
QuerySets with "|" or "&" mutates right-hand side. (accepted)
https://code.djangoproject.com/ticket/35100 - Simplify
initialization of databases in the GeoIP2 wrapper (accepted)
https://code.djangoproject.com/ticket/35102 - Performance
regression on Model.objects.count() between Django 4.2 and 5.0
(accepted)
https://code.djangoproject.com/ticket/35108 - Have
SingleObjectMixin.get_object handle ValidationError/ValueError
(wontfix)
https://code.djangoproject.com/ticket/35109 - Enhance
`showmigrations` to only write leafs nodes (most recent
migrations) to stdout, if desired (wontfix)
https://code.djangoproject.com/ticket/35111 - DateField's
__range and __in lookups against expressions produce invalid
values on SQLite. (accepted)
https://code.djangoproject.com/ticket/35107 - How to write a
management command that reads from stdin should be documented
(wontfix)
Reviewed/committed:
https://github.com/django/django/pull/17700 - Fixed #35087
-- Reallowed filtering against foreign keys not listed in
ModelAdmin.list_filters.
https://github.com/django/django/pull/17707 - Fixed #33481 --
Clarified remove_stale_contenttypes data loss warning.
https://github.com/django/django/pull/17713 - Refs #28404 --
Split test_null_display_for_field() test.
https://github.com/django/django/pull/17710 - Fixed #35096 --
Corrected alignment for error lists in admin "wide" forms.
https://github.com/django/django/pull/17698 - Made management
command examples more consistent in docs.
https://github.com/django/django/pull/17702 - Fixed #28404 --
Made displaying values in admin respect Field's empty_values.
https://github.com/django/django/pull/17706 - Fixed #35092 --
Exposed extra fields for GeoIP2.country() and GeoIP2.city()
responses.
https://github.com/django/django/pull/17718 - Fixed #35100 --
Reworked GeoIP2 database initialization.
https://github.com/django/django/pull/17720 - Refs #28404 --
Made displaying property values in admin respect non-None empty
values.
https://github.com/django/django/pull/17727 - Avoided nested
transactions in SkippingClassTestCase.
https://github.com/django/django/pull/17615 - Fixed #35028 --
Disabled server-side bindings for named cursors on psycopg >=
3.
Authored:
https://github.com/django/django/pull/17717 - Fixed #34769
-- Fixed key transforms on Oracle 21c+.
Best,
Mariusz