Commit 37dce893 by José Padilla

Add support for Django 1.8’s ArrayField

parent 760b25bc
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment