ArrayField with JSONField as base_field in Django
问题 I have a GooglePlace model with a field to store the address_components being returned by Google Places API. model.py address_components = ArrayField(JSONField(), null=True, blank=True) I am trying to store the data like this address_components = [component for component in google_place_details.get("address_components")] But I am getting this error : column "address_components" is of type jsonb[] but expression is of type text[] LINE 1: ... '2018-04-26T07:49:02.101395+00:00'::timestamptz,