mirror of https://github.com/django/django.git
[3.0.x] Refs #30350 -- Doc'd support for range serialization in migrations.
Backport of bc46e386c7
from master
This commit is contained in:
parent
525c7e2afe
commit
0098f26fdd
|
@ -669,7 +669,7 @@ for basic values, and doesn't specify import paths).
|
|||
Django can serialize the following:
|
||||
|
||||
- ``int``, ``float``, ``bool``, ``str``, ``bytes``, ``None``, ``NoneType``
|
||||
- ``list``, ``set``, ``tuple``, ``dict``
|
||||
- ``list``, ``set``, ``tuple``, ``dict``, ``range``.
|
||||
- ``datetime.date``, ``datetime.time``, and ``datetime.datetime`` instances
|
||||
(include those that are timezone-aware)
|
||||
- ``decimal.Decimal`` instances
|
||||
|
|
Loading…
Reference in New Issue