Sfoglia il codice sorgente

Refs #30350 -- Doc'd support for range serialization in migrations.

Mariusz Felisiak 5 anni fa
parent
commit
bc46e386c7
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      docs/topics/migrations.txt

+ 1 - 1
docs/topics/migrations.txt

@@ -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