diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-09-24 13:03:40 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-09-24 13:55:19 +0200 |
| commit | fcaaff9862a93efe8ccd2a23b7e38d62dcf7a9d2 (patch) | |
| tree | 1684df5d46500eaff430884bd2c5e06cc8098470 | |
| parent | 0098f26fdd0a56d6613585de9eec2f34499c3287 (diff) | |
[3.0.x] Refs #27910 -- Doc'd support for enumeration types serialization in migrations.
Backport of aad46ee274b0e294ac055cc199e6595de4ef4164 from master
| -rw-r--r-- | docs/topics/migrations.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/topics/migrations.txt b/docs/topics/migrations.txt index adbe1d72ea..fc18593dbd 100644 --- a/docs/topics/migrations.txt +++ b/docs/topics/migrations.txt @@ -678,6 +678,7 @@ Django can serialize the following: - :func:`functools.partial` and :class:`functools.partialmethod` instances which have serializable ``func``, ``args``, and ``keywords`` values. - ``LazyObject`` instances which wrap a serializable value. +- Enumeration types (e.g. ``TextChoices`` or ``IntegerChoices``) instances. - Any Django field - Any function or method reference (e.g. ``datetime.datetime.today``) (must be in module's top-level scope) - Unbound methods used from within the class body |
