b
user_data = AddressBookSettingsSerializer(settings, many=True)и вот таких серилизаторах: https://dpaste.org/Epow
print({'data': user_data.data})
получаю ошибку:
AttributeError: Got AttributeError when attempting to get a value for field `attribute` on serializer `AddressBookAttributeSerializer`.
The serializer field might be named incorrectly and not match any attribute or key on the `AddressBookAttribute` instance.
Original exception text was: 'str' object has no attribute 'attribute'.