ArrayField ¶
See also
Description ¶
A field for storing lists of data .
Most field types can be used, and you pass another field instance as the base_field.
You may also specify a size. ArrayField can be nested to store multi-dimensional arrays.
If you give the field a default, ensure it’s a callable such as list (for an empty default) or a callable that returns a list (such as a function).
Incorrectly using default=[] creates a mutable default that is shared between all instances of ArrayField.