Fixed #31155 -- Fixed a system check for the longest choice when a named group contains only non-string values.

Regression in b6251956b6.

Thanks Murat Guchetl for the report.
This commit is contained in:
Mariusz Felisiak 2020-01-11 19:47:36 +01:00 committed by GitHub
parent 8b3e714ecf
commit 6f7998adc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 2 deletions

View file

@ -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`).