summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/migrations.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/topics/migrations.txt b/docs/topics/migrations.txt
index 08d458fbb8..b7cd7043c2 100644
--- a/docs/topics/migrations.txt
+++ b/docs/topics/migrations.txt
@@ -788,6 +788,8 @@ Django can serialize the following:
- Functions may be decorated if wrapped properly, i.e. using
:func:`functools.wraps`
+ - The :func:`functools.cache` and :func:`functools.lru_cache` decorators are
+ explicitly supported
- Unbound methods used from within the class body
- Any class reference (must be in module's top-level scope)
@@ -797,6 +799,11 @@ Django can serialize the following:
Serialization support for ``enum.Flag`` was added.
+.. versionchanged:: 5.0
+
+ Serialization support for functions decorated with :func:`functools.cache`
+ or :func:`functools.lru_cache` was added.
+
Django cannot serialize:
- Nested classes