mirror of
https://github.com/django/django.git
synced 2025-01-31 12:49:21 +00:00
0e94f292cd
LocaleMiddleware didn't handle the ValueError raised by get_supported_language_variant() when language codes were over 500 characters. Regression in 9e9792228a6bb5d6402a5d645bc3be4cf364aefb.
26 lines
849 B
Plaintext
26 lines
849 B
Plaintext
==========================
|
|
Django 5.0.8 release notes
|
|
==========================
|
|
|
|
*Expected August 6, 2024*
|
|
|
|
Django 5.0.8 fixes several bugs in 5.0.7.
|
|
|
|
Bugfixes
|
|
========
|
|
|
|
* Added missing validation for ``UniqueConstraint(nulls_distinct=False)`` when
|
|
using ``*expressions`` (:ticket:`35594`).
|
|
|
|
* Fixed a regression in Django 5.0 where ``ModelAdmin.action_checkbox`` could
|
|
break the admin changelist HTML page when rendering a model instance with a
|
|
``__html__`` method (:ticket:`35606`).
|
|
|
|
* Fixed a crash when creating a model with a ``Field.db_default`` and a
|
|
``Meta.constraints`` constraint composed of ``__endswith``, ``__startswith``,
|
|
or ``__contains`` lookups (:ticket:`35625`).
|
|
|
|
* Fixed a regression in Django 5.0.7 that caused a crash in
|
|
``LocaleMiddleware`` when processing a language code over 500 characters
|
|
(:ticket:`35627`).
|