mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
[3.0.x] Fixed #31155 -- Fixed a system check for the longest choice when a named group contains only non-string values.
Regression inb6251956b6
. Thanks Murat Guchetl for the report. Backport of6f7998adc7
from master
This commit is contained in:
parent
16297e7d5e
commit
92866682c6
3 changed files with 23 additions and 2 deletions
|
@ -23,3 +23,6 @@ Bugfixes
|
|||
|
||||
* Added support for using enumeration types ``TextChoices``,
|
||||
``IntegerChoices``, and ``Choices`` in templates (:ticket:`31154`).
|
||||
|
||||
* Fixed a system check to ensure the ``max_length`` attribute fits the longest
|
||||
choice, when a named group contains only non-string values (:ticket:`31155`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue