Add support for Django 1.8’s ArrayField

This commit is contained in:
José Padilla 2015-02-01 15:33:34 -04:00
parent 760b25bc20
commit 37dce89354

View File

@ -1337,6 +1337,7 @@ if postgres_fields:
child = CharField()
ModelSerializer.serializer_field_mapping[postgres_fields.HStoreField] = CharMappingField
ModelSerializer.serializer_field_mapping[postgres_fields.ArrayField] = ListField
class HyperlinkedModelSerializer(ModelSerializer):