summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.9.txt3
-rw-r--r--docs/topics/migrations.txt4
2 files changed, 5 insertions, 2 deletions
diff --git a/docs/releases/1.9.txt b/docs/releases/1.9.txt
index b167500c76..bf6f45b450 100644
--- a/docs/releases/1.9.txt
+++ b/docs/releases/1.9.txt
@@ -448,7 +448,8 @@ Migrations
:djadminopt:`migrate --fake-initial <--fake-initial>` to more easily detect
initial migrations.
-* Added support for serialization of ``functools.partial`` objects.
+* Added support for serialization of ``functools.partial`` and ``LazyObject``
+ instances.
* When supplying ``None`` as a value in :setting:`MIGRATION_MODULES`, Django
will consider the app an app without migrations.
diff --git a/docs/topics/migrations.txt b/docs/topics/migrations.txt
index 57b6c3216a..24236ec9da 100644
--- a/docs/topics/migrations.txt
+++ b/docs/topics/migrations.txt
@@ -659,6 +659,7 @@ Django can serialize the following:
- ``decimal.Decimal`` instances
- ``functools.partial`` instances which have serializable ``func``, ``args``,
and ``keywords`` values.
+- ``LazyObject`` instances which wrap a serializable value.
- Any Django field
- Any function or method reference (e.g. ``datetime.datetime.today``) (must be in module's top-level scope)
- Any class reference (must be in module's top-level scope)
@@ -666,7 +667,8 @@ Django can serialize the following:
.. versionchanged:: 1.9
- Serialization support for `functools.partial` was added.
+ Serialization support for ``functools.partial`` and ``LazyObject``
+ instances was added.
Django can serialize the following on Python 3 only: