mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #23316 -- Added datetime.time serialization in migrations.
This commit is contained in:
parent
ad9ba9d27b
commit
11d9cbe2f4
4 changed files with 7 additions and 1 deletions
|
@ -524,7 +524,7 @@ Django can serialize the following:
|
|||
|
||||
- ``int``, ``long``, ``float``, ``bool``, ``str``, ``unicode``, ``bytes``, ``None``
|
||||
- ``list``, ``set``, ``tuple``, ``dict``
|
||||
- ``datetime.date`` and ``datetime.datetime`` instances
|
||||
- ``datetime.date``, ``datetime.time``, and ``datetime.datetime`` instances
|
||||
- ``decimal.Decimal`` instances
|
||||
- Any Django field
|
||||
- Any function or method reference (e.g. ``datetime.datetime.today``)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue