Debian Codegraph @

docs/releases/5.0.1.txt

raw
1 ==========================
2 Django 5.0.1 release notes
3 ==========================
4
5 *January 2, 2024*
6
7 Django 5.0.1 fixes several bugs in 5.0.
8
9 Bugfixes
10 ========
11
12 * Reallowed, following a regression in Django 5.0, using a foreign key to a
13 model with a primary key that is not ``AutoField`` in
14 :attr:`.ModelAdmin.list_filter` (:ticket:`35020`).
15
16 * Fixed a long standing bug in handling the ``RETURNING INTO`` clause that
17 caused a crash when creating a model instance with a ``GeneratedField`` which
18 ``output_field`` had backend-specific converters (:ticket:`35024`).
19
20 * Fixed a regression in Django 5.0 that caused a crash of ``Model.save()`` for
21 models with both ``GeneratedField`` and ``ForeignKey`` fields
22 (:ticket:`35019`).
23
24 * Fixed a bug in Django 5.0 that caused a migration crash on Oracle < 23c when
25 adding a ``GeneratedField`` with ``output_field=BooleanField``
26 (:ticket:`35018`).
27
28 * Fixed a regression in Django 5.0 where admin fields on the same line could
29 overflow the page and become non-interactive (:ticket:`35012`).
30
31 * Added compatibility for ``oracledb`` 2.0.0 (:ticket:`35054`).
32
33 * Fixed a regression in Django 5.0 where querysets referenced incorrect field
34 names from ``FilteredRelation()`` (:ticket:`35050`).
35
36 * Fixed a regression in Django 5.0 that caused a system check crash when
37 ``ModelAdmin.filter_horizontal`` or ``filter_vertical`` contained a reverse
38 many-to-many relation with ``related_name`` (:ticket:`35056`).