PostgreSQL specific model fields

PostgreSQL specific model fields

All of these fields are available from the django.contrib.postgres.fields module.

ArrayField

class ArrayField(base_field, size=None, **options) [source]

A field for storing lists of data. Most field types can be used, you simply pass another field instance as the base_field. You may also specify a 登录查看完整内容