summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2020-01-09 15:41:54 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-01-10 09:13:36 +0100
commit16297e7d5e3a6b0287d114e95d1d544995618c93 (patch)
treec29a80f82ec0ff8e6afd7e701cc1319646bff518 /docs
parent2efc832cdfa7eec5905b11dbf0b6855aa0f6447d (diff)
[3.0.x] Fixed #31154 -- Added support for using enumeration types in templates.
Enumeration helpers are callables, so the template system tried to call them with no arguments. Thanks Rupert Baker for helping discover this. Backport of 5166097d7c80cab757e44f2d02f3d148fbbc2ff6 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/3.0.3.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/releases/3.0.3.txt b/docs/releases/3.0.3.txt
index 27ace475d1..ab5a2fd84b 100644
--- a/docs/releases/3.0.3.txt
+++ b/docs/releases/3.0.3.txt
@@ -20,3 +20,6 @@ Bugfixes
* Relaxed the system check added in Django 3.0 to reallow use of a sublanguage
in the :setting:`LANGUAGE_CODE` setting, when a base language is available in
Django but the sublanguage is not (:ticket:`31141`).
+
+* Added support for using enumeration types ``TextChoices``,
+ ``IntegerChoices``, and ``Choices`` in templates (:ticket:`31154`).